|
@@ -29,7 +29,10 @@ pipeline {
|
|
|
steps {
|
|
|
script {
|
|
|
echo '****************************** 公共工程打包 ******************************'
|
|
|
- sh "mvn -f ${PROJECT_SERVICE_COMMON_NAME} clean install -Dmaven.test.skip=true"
|
|
|
+ sh """
|
|
|
+ mvn clean install -Dmaven.test.skip=true
|
|
|
+ mvn -f ${PROJECT_SERVICE_COMMON_NAME} clean install -Dmaven.test.skip=true
|
|
|
+ """
|
|
|
}
|
|
|
}
|
|
|
}
|
|
@@ -38,10 +41,7 @@ pipeline {
|
|
|
steps {
|
|
|
script {
|
|
|
echo '****************************** 微服务工程打包 ******************************'
|
|
|
- sh """
|
|
|
- cd ${params.SERVICE}
|
|
|
- mvn clean install -Dmaven.test.skip=true
|
|
|
- """
|
|
|
+ sh "mvn -f ${params.SERVICE} clean install -Dmaven.test.skip=true"
|
|
|
}
|
|
|
}
|
|
|
}
|