|
@@ -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()
|
|
|
+ }
|
|
|
}
|
|
|
+
|
|
|
}
|
|
|
}
|