浏览代码

更新 'Jenkinsfile'

wuheng 1 年之前
父节点
当前提交
d579c38a3e
共有 1 个文件被更改,包括 2 次插入2 次删除
  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') {