Преглед на файлове

Merge branch 'Yolo' of http://39.105.160.25:10880/wuheng/eas-system into Yolo

常忠宇 преди 1 година
родител
ревизия
b9303a3838
променени са 1 файла, в които са добавени 3 реда и са изтрити 3 реда
  1. 3 3
      Jenkinsfile

+ 3 - 3
Jenkinsfile

@@ -13,9 +13,9 @@ pipeline {
         stage('Build') {
         stage('Build') {
             steps {
             steps {
                 echo 'Building..'
                 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 '~/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') {
         stage('Test') {
@@ -26,7 +26,7 @@ pipeline {
         stage('Deploy') {
         stage('Deploy') {
             steps {
             steps {
                 echo 'Deploying....'
                 echo 'Deploying....'
-                sh 'docker-compose up -d'
+                sh 'docker ps'
             }
             }
         }
         }
     }
     }