diff --git a/Jenkinsfile b/Jenkinsfile index 8b0c808cab579aa1bdbd90af6da94d512d59ab3b..14396a930917e7b00c3628a496078a3fab20caa9 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -155,15 +155,13 @@ pipeline { } } stage('Tag and Push Docker Image') { - when { - anyOf { - branch 'master' - branch 'release' - } - } + steps { script { FAILED_STAGE = env.STAGE_NAME + IMAGE_TAG = generateImageTag() + + tagAndPushDockerImage(IMAGE_TAG) if (isMasterBranch()) { tagAndPushDockerImage('snapshot-latest')