Explorar el Código

更新 'Jenkinsfile'

sifu-gogs hace 2 años
padre
commit
c28fc62609
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. 2 1
      Jenkinsfile

+ 2 - 1
Jenkinsfile

@@ -12,7 +12,8 @@ pipeline {
             steps {
                 echo 'Building..'
                 sh '~/tools/apache-maven-3.6.3/bin/mvn  clean install -Dmaven.test.skip=true'
-                sh 'docker build .'          
+                sh 'docker-compose down'
+				sh 'docker-compose up -d'
 }
         }
         stage('Test') {