Browse Source

修改docker配置

zq940222 2 months ago
parent
commit
d99d95de37
1 changed files with 5 additions and 11 deletions
  1. 5 11
      Jenkinsfile

+ 5 - 11
Jenkinsfile

@@ -30,7 +30,6 @@ pipeline {
                 script {
                     echo '****************************** 公共工程打包 ******************************'
                     sh """
-                        mvn clean install -Dmaven.test.skip=true
                         mvn -f ${PROJECT_SERVICE_COMMON_NAME} clean install -Dmaven.test.skip=true
                     """
                 }
@@ -84,17 +83,12 @@ pipeline {
                 false)])
             }
         }
-    }
 
-    post {
-        always {
-            cleanWs()
-        }
-        success {
-            echo 'Deployment succeeded!'
-        }
-        failure {
-            echo 'Deployment failed.'
+        stage('Clean Workspace') {
+            steps {
+                cleanWs()
+            }
         }
+
     }
 }