andi 3 年之前
父節點
當前提交
94157ee04c
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      Jenkinsfile

+ 2 - 1
Jenkinsfile

@@ -49,10 +49,11 @@ node {
             // echo "Current workspace is $WORKSPACE"
         docker.withTool("myDocker"){
             docker.withRegistry(registryAddress, registryCredential) {
+			
+			env.BUILD_ID = 58
 
                 def dockerImage = docker.build("ptb-be:${env.BUILD_ID}")
 				
-				env.BUILD_ID = 58
 
                 /* Push the container to the custom Registry */
                 dockerImage.push()