Jenkinsfile: do not deploy feature branches
All checks were successful
charlyghislain/charlyghislaindotcom/pipeline/head This commit looks good
All checks were successful
charlyghislain/charlyghislaindotcom/pipeline/head This commit looks good
This commit is contained in:
parent
66318bcd77
commit
97ceb9ae86
1
Jenkinsfile
vendored
1
Jenkinsfile
vendored
|
@ -69,6 +69,7 @@ pipeline {
|
||||||
stage ('Update cluster') {
|
stage ('Update cluster') {
|
||||||
when {
|
when {
|
||||||
allOf {
|
allOf {
|
||||||
|
expression { return env.BRANCH_NAME == 'master' }
|
||||||
expression { return params.SKIP_PUBLISH != true }
|
expression { return params.SKIP_PUBLISH != true }
|
||||||
expression { return params.SKIP_CLUSTER_UPDATE != true }
|
expression { return params.SKIP_CLUSTER_UPDATE != true }
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user