Minor fix in stage3 during push to dockerhub 29/12629/1
authorgarciadeblas <gerardo.garciadeblas@telefonica.com>
Mon, 3 Oct 2022 14:16:56 +0000 (16:16 +0200)
committergarciadeblas <gerardo.garciadeblas@telefonica.com>
Sun, 30 Oct 2022 11:10:30 +0000 (12:10 +0100)
Change-Id: I54fb53d2e58443fe0900c1e0111bebaa6daf9d16
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
jenkins/ci-pipelines/ci_stage_3.groovy

index 1474f89..e515993 100644 (file)
@@ -632,6 +632,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}"