andi 3 жил өмнө
parent
commit
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()