mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-21 14:55:51 +00:00
Update Jenkinsfile
deploy only when on master branch
This commit is contained in:
parent
c12d53c54e
commit
2b26c4fb27
1 changed files with 2 additions and 1 deletions
1
Jenkinsfile
vendored
1
Jenkinsfile
vendored
|
@ -20,6 +20,7 @@ pipeline {
|
|||
}
|
||||
|
||||
stage('Deploy') {
|
||||
when { branch 'master' }
|
||||
steps {
|
||||
sh 'mvn deploy'
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue