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
a10763493d
commit
e79120b1ed
1 changed files with 3 additions and 3 deletions
6
Jenkinsfile
vendored
6
Jenkinsfile
vendored
|
@ -15,13 +15,13 @@ pipeline {
|
|||
stage('pull request') {
|
||||
steps {
|
||||
script {
|
||||
if (env.BRANCH_NAME != 'master' && env.CHANGE_ID){
|
||||
if (env.BRANCH_NAME != 'main' && env.CHANGE_ID){
|
||||
sh "echo 'ndsakmmkdsa'"
|
||||
sh "echo 'hfiejrfrei'"
|
||||
} else if (env.BRANCH_NAME == 'main') {
|
||||
sh "echo 'master branch'"
|
||||
sh "echo main"
|
||||
} else {
|
||||
sh "echo 'cap cap cap'"
|
||||
sh "echo $env.BRANCH_NAM"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue