Browse Source

更新 'Jenkinsfile'

wuheng 1 year ago
parent
commit
d579c38a3e
1 changed files with 2 additions and 2 deletions
  1. 2 2
      Jenkinsfile

+ 2 - 2
Jenkinsfile

@@ -13,9 +13,9 @@ pipeline {
         stage('Build') {
             steps {
                 echo 'Building..'
-                #sh 'docker-compose down'
+                sh 'docker-compose down'
                 sh '~/tools/apache-maven-3.6.3/bin/mvn  clean install -Dmaven.test.skip=true'
-                #sh 'docker build -t ${BRANCH_NAME}:${BUILD_NUMBER} .'
+                sh 'docker build -t ${BRANCH_NAME}:${BUILD_NUMBER} .'
             }
         }
         stage('Test') {