Minor fix in stage3 during push to dockerhub 75/12575/2
authorgarciadeblas <gerardo.garciadeblas@telefonica.com>
Mon, 3 Oct 2022 14:16:56 +0000 (16:16 +0200)
committergarciadeblas <gerardo.garciadeblas@telefonica.com>
Fri, 28 Oct 2022 07:25:03 +0000 (09:25 +0200)
Change-Id: I54fb53d2e58443fe0900c1e0111bebaa6daf9d16
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
jenkins/ci-pipelines/ci_stage_3.groovy

index 01ed34e..5255f9b 100644 (file)
@@ -633,6 +633,7 @@ EOF"""
 
                                 parallelSteps[module] = {
                                     dir("$module") {
+                                        sh("docker pull ${INTERNAL_DOCKER_REGISTRY}opensourcemano/${moduleName}:${moduleTag}")
                                         sh("""docker tag opensourcemano/${moduleName}:${moduleTag} \
                                            opensourcemano/${moduleName}:${dockerTag}""")
                                         sh "docker push opensourcemano/${moduleName}:${dockerTag}"