hotfix/[DO-1628] Fix branch check (!88)
Reviewed-on: https://git.avroid.tech/DevOps/jenkins-pipelines/pulls/88
This commit is contained in:
@@ -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 ),
|
||||
|
||||
Reference in New Issue
Block a user