Vadim Surkov %!s(int64=7) %!d(string=hai) anos
pai
achega
73bba54625
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      Jenkinsfile

+ 2 - 2
Jenkinsfile

@@ -30,14 +30,14 @@ pipeline {
       steps {
         echo "Building with repo $repo"
         sh "echo docker build --build-arg repo=${repo} --no-cache -t ${docker_registry}/${docker_image}:${repo}-${BUILD_NUMBER} ."
+        sh "false"
       }
     }
     stage("Publish") {
       when { expression { build == "true" } }
       steps {
         echo "Building with repo $repo"
-        sh "docker build --build-arg repo=${repo} --no-cache -t ${docker_registry}/${docker_image}:${repo}-${BUILD_NUMBER} ."
-        sh "false"
+        sh "sleep 10; echo docker build --build-arg repo=${repo} --no-cache -t ${docker_registry}/${docker_image}:${repo}-${BUILD_NUMBER} ."
       }
     }
     stage("Update") {