mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-29 18:55:49 +00:00
JenkinsFile docker configuration
This commit is contained in:
parent
1deac31ef2
commit
145893de88
1 changed files with 2 additions and 2 deletions
4
Jenkinsfile
vendored
4
Jenkinsfile
vendored
|
@ -17,8 +17,8 @@ pipeline {
|
||||||
script {
|
script {
|
||||||
if(env.CHANGE_ID) {
|
if(env.CHANGE_ID) {
|
||||||
sh "echo 'pull request'"
|
sh "echo 'pull request'"
|
||||||
} else {
|
} else if (env.BRANCH_NAME == 'main') {
|
||||||
sh "echo 'pull no no no'"
|
sh "echo 'main branch'"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue