From a0ff8dd61cf12141f7ce95582d777336b788d3e0 Mon Sep 17 00:00:00 2001
From: OZGCloud <ozgcloud@mgm-tp.com>
Date: Tue, 12 Jan 2021 10:36:27 +0100
Subject: [PATCH] edit jenkins pipeline

---
 Jenkinsfile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Jenkinsfile b/Jenkinsfile
index 5b563b117c..c09552fb3c 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -79,7 +79,7 @@ pipeline {
                                 openshift.startBuild("goofy-builder", "--from-dir=.", "--follow", "--wait")
                             }
                          
-                            openshift.tag("goofy-builder:latest", "goofy-builder:${env.BRANCH_NAME}-${version}")
+                            openshift.tag("goofy-builder:build-latest", "goofy-builder:${env.BRANCH_NAME}-${version}")
 
                             if (env.BRANCH_NAME == 'release') {
                                 openshift.tag("goofy-builder:${env.BRANCH_NAME}-${version}", "goofy-builder:latest")
@@ -89,7 +89,7 @@ pipeline {
                                 def dc = openshift.selector('dc', 'goofy-e2e')
 
                                 openshift.tag("goofy-builder:${env.BRANCH_NAME}-${version}", "goofy-builder:snapshot-latest")
-                                openshift.tag("goofy-builder:latest", "goofy-builder:e2e-latest")
+                                openshift.tag("goofy-builder:${env.BRANCH_NAME}-${version}", "goofy-builder:e2e-latest")
 
                                 dc.rollout().status()
                             }
-- 
GitLab