andi 3 năm trước cách đây
mục cha
commit
94157ee04c
1 tập tin đã thay đổi với 2 bổ sung1 xóa
  1. 2 1
      Jenkinsfile

+ 2 - 1
Jenkinsfile

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