appsptb 3 жил өмнө
parent
commit
573d537181
1 өөрчлөгдсөн 2 нэмэгдсэн , 4 устгасан
  1. 2 4
      Jenkinsfile

+ 2 - 4
Jenkinsfile

@@ -27,16 +27,14 @@ node {
 	
     stage('Deploy'){
       if(env.BRANCH_NAME == 'master'){
-        steps{
 		  script {
             dockerImage = docker.build registry + ":$BUILD_NUMBER"
 			docker.withRegistry( '', registryCredential ) {
               dockerImage.push()
             }
           }
-        }
-      }
-    }
+       }
+     }
   }
   catch (err) {
     throw err