mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-21 14:55:51 +00:00
Modify Jenkinsfile - Deploy conditional only master branch
This commit is contained in:
parent
c40b588cee
commit
01c7f122b3
1 changed files with 3 additions and 0 deletions
3
Jenkinsfile
vendored
3
Jenkinsfile
vendored
|
@ -17,6 +17,9 @@ pipeline {
|
|||
}
|
||||
}
|
||||
stage('Deploy') {
|
||||
when{
|
||||
branch 'master'
|
||||
}
|
||||
steps {
|
||||
bat "echo 'Pulling...' + env.BRANCH_NAME"
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue