暂存提交

This commit is contained in:
2026-07-30 22:07:34 +08:00
parent eb282ba3a6
commit 8a1b2e15a6
6 changed files with 40 additions and 35 deletions
Vendored
+3 -1
View File
@@ -73,6 +73,8 @@ pipeline {
environment {
REGISTRY_CREDENTIALS = 'gitlab-registry-credentials'
MAVEN_SETTINGS = 'deploy/maven/settings-cn.xml'
MAVEN_OPTS = '-Dfile.encoding=UTF-8 -Dmaven.wagon.http.retryHandler.count=3'
}
stages {
@@ -128,7 +130,7 @@ pipeline {
steps {
script {
String testOption = params.SKIP_TESTS ? '-DskipTests' : ''
sh "mvn --batch-mode --errors --fail-at-end -pl ${env.SELECTED_SERVICES} -am clean package ${testOption}"
sh "mvn --settings ${env.MAVEN_SETTINGS} --batch-mode --errors --fail-at-end -pl ${env.SELECTED_SERVICES} -am clean package ${testOption}"
}
}
post {