diff --git a/pipelines/Cloud/Apps-Backend/msg-messenger-core-api.groovy b/pipelines/Cloud/Apps-Backend/msg-messenger-core-api.groovy index e60ad15..79f980f 100644 --- a/pipelines/Cloud/Apps-Backend/msg-messenger-core-api.groovy +++ b/pipelines/Cloud/Apps-Backend/msg-messenger-core-api.groovy @@ -79,14 +79,14 @@ slaveTemplates.jnlp { "--build-arg PIP_INDEX_URL=${env.JENKINS_PIP_INDEX_URL} -f Dockerfile ." ) - if (publishBranch.contains(branch)) { + if (publishBranch) { buildImage.push() } } } stage('deploy application'){ - if (publishBranch.contains(branch)){ + if (publishBranch){ build job: 'Cloud/Deploy/Backend/msg-messenger-core-api-deploy', parameters: [ string(name: 'ENV', value: envBranch.find { it.value == branch }?.key ),