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
ea036e79be
commit
d3869174c2
1 changed files with 1 additions and 1 deletions
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
|
@ -15,7 +15,7 @@ pipeline {
|
||||||
stage('pull request') {
|
stage('pull request') {
|
||||||
steps {
|
steps {
|
||||||
script {
|
script {
|
||||||
if(env.CHANGE_ID != null & env.BRANCH_NAME != 'main') {
|
if(env.CHANGE_ID != null && env.BRANCH_NAME != 'main') {
|
||||||
sh "echo $env.BRANCH_NAME"
|
sh "echo $env.BRANCH_NAME"
|
||||||
sh "echo 'pull request jk'"
|
sh "echo 'pull request jk'"
|
||||||
} else if (env.BRANCH_NAME == 'main') {
|
} else if (env.BRANCH_NAME == 'main') {
|
||||||
|
|
Loading…
Reference in a new issue