mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-21 06:45:49 +00:00
Update Jenkinsfile
This commit is contained in:
parent
6fe9d6f021
commit
fb19855733
1 changed files with 5 additions and 4 deletions
9
Jenkinsfile
vendored
9
Jenkinsfile
vendored
|
@ -18,10 +18,11 @@ pipeline {
|
|||
}
|
||||
}
|
||||
stage('Deploy') {
|
||||
if (env.BRANCH_NAME == 'master') {
|
||||
steps {
|
||||
echo 'Deploy.'
|
||||
}
|
||||
when {
|
||||
branch 'master'
|
||||
}
|
||||
steps {
|
||||
echo 'Deploying'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue