mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-19 14:05:50 +00:00
Only deploy to prod on master (#34)
* Blue/Green deploy stage * Only run b/g deploys on master
This commit is contained in:
parent
151fbe7ff2
commit
ff0c650b22
1 changed files with 0 additions and 2 deletions
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
|
@ -155,11 +155,9 @@ pipeline {
|
||||||
}
|
}
|
||||||
|
|
||||||
stage('Blue/Green deploy to prod') {
|
stage('Blue/Green deploy to prod') {
|
||||||
/*
|
|
||||||
when {
|
when {
|
||||||
branch 'master'
|
branch 'master'
|
||||||
}
|
}
|
||||||
*/
|
|
||||||
agent {
|
agent {
|
||||||
dockerfile {
|
dockerfile {
|
||||||
filename "blue-green/Dockerfile"
|
filename "blue-green/Dockerfile"
|
||||||
|
|
Loading…
Reference in a new issue