mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-21 23:05:50 +00:00
Only deploy when in master
This commit is contained in:
parent
5c3445c6ef
commit
8583e69437
1 changed files with 3 additions and 0 deletions
3
Jenkinsfile
vendored
3
Jenkinsfile
vendored
|
@ -20,6 +20,9 @@ pipeline {
|
||||||
}
|
}
|
||||||
|
|
||||||
stage('Deploy') {
|
stage('Deploy') {
|
||||||
|
when {
|
||||||
|
branch 'master'
|
||||||
|
}
|
||||||
steps {
|
steps {
|
||||||
echo '"Deployed"'
|
echo '"Deployed"'
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue