瀏覽代碼

Code enhancements

Wadim Surkov 6 年之前
父節點
當前提交
7a821fb02a
共有 1 個文件被更改,包括 3 次插入0 次删除
  1. 3 0
      Jenkinsfile

+ 3 - 0
Jenkinsfile

@@ -57,9 +57,12 @@ pipeline {
                 error('Unknown cluster')
           }
         }
+
+        script {
           sh "set"
           currentBuild.result = 'ABORTED'
           error ('Emergency stop')
+        }
 
         echo "Building ${DOCKER_REGISTRY}/iru/${DOCKER_IMAGE}:${repo}-${BUILD_NUMBER}."
         sh "docker build --build-arg repo=${repo} --no-cache -t ${DOCKER_REGISTRY}/iru/${DOCKER_IMAGE}:${repo}-${BUILD_NUMBER} ."