From f2d958e94973646b805c6ffb95835f14bbb64043 Mon Sep 17 00:00:00 2001 From: OZGCloud <ozgcloud@mgm-tp.com> Date: Fri, 5 Jul 2024 21:57:17 +0200 Subject: [PATCH] push alfa brach docker image also to nexus --- Jenkinsfile | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 8b0c808cab..14396a9309 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') -- GitLab