Jenkinsfile: do not deploy feature branches
All checks were successful
charlyghislain/charlyghislaindotcom/pipeline/head This commit looks good

This commit is contained in:
cghislai 2022-04-18 13:46:02 +02:00
parent 66318bcd77
commit 97ceb9ae86

1
Jenkinsfile vendored
View File

@ -69,6 +69,7 @@ pipeline {
stage ('Update cluster') {
when {
allOf {
expression { return env.BRANCH_NAME == 'master' }
expression { return params.SKIP_PUBLISH != true }
expression { return params.SKIP_CLUSTER_UPDATE != true }
}