Explorar o código

更新 'Jenkinsfile'

sifu-gogs %!s(int64=2) %!d(string=hai) anos
pai
achega
2b1f869e92
Modificáronse 1 ficheiros con 1 adicións e 4 borrados
  1. 1 4
      Jenkinsfile

+ 1 - 4
Jenkinsfile

@@ -11,12 +11,9 @@ pipeline {
                 }
             }
             steps {
-                docker {
-                    build "${BRANCH_NAME}:${BUILD_NUMBER}"
-                }
                 /* checkout scm */
                 /* echo docker -v  */
-                /*    def customImage = docker.build("${BRANCH_NAME}:${BUILD_NUMBER}")  */
+                docker.build("${BRANCH_NAME}:${BUILD_NUMBER}")
                 /* sh 'docker-compose down' */
                 /* sh 'npm install --registry https://registry.npm.taobao.org' */
                 /* sh 'npm run build:prod' */