mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-29 10:55:48 +00:00
JenkinsFile docker configuration
This commit is contained in:
parent
2176182a92
commit
ea036e79be
1 changed files with 1 additions and 1 deletions
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
|
@ -15,7 +15,7 @@ pipeline {
|
|||
stage('pull request') {
|
||||
steps {
|
||||
script {
|
||||
if(env.BRANCH_NAME != 'main') {
|
||||
if(env.CHANGE_ID != null & env.BRANCH_NAME != 'main') {
|
||||
sh "echo $env.BRANCH_NAME"
|
||||
sh "echo 'pull request jk'"
|
||||
} else if (env.BRANCH_NAME == 'main') {
|
||||
|
|
Loading…
Reference in a new issue