Signed-off-by: Olivier Lamy <olamy@apache.org>
This commit is contained in:
Olivier Lamy 2022-12-13 09:13:46 +10:00
parent b4476a300f
commit 13cf1aa119
2 changed files with 3 additions and 3 deletions

2
Jenkinsfile vendored
View File

@ -54,7 +54,7 @@ node(jenkinsEnv.nodeSelection(osNode)) {
"PATH+MAVEN=${ tool "$jdkName" }/bin:${tool "$mvnName"}/bin", "PATH+MAVEN=${ tool "$jdkName" }/bin:${tool "$mvnName"}/bin",
"MAVEN_OPTS=-Xms2g -Xmx4g -Djava.awt.headless=true"]) { "MAVEN_OPTS=-Xms2g -Xmx4g -Djava.awt.headless=true"]) {
sh "mvn clean ${MAVEN_GOAL} -B -U -e -fae -V -Dmaven.test.failure.ignore -PversionlessMavenDist -Dmaven.repo.local=${WORK_DIR}/.repository" sh "mvn clean ${MAVEN_GOAL} -B -U -e -fae -V -Dmaven.test.failure.ignore -PversionlessMavenDist -Dmaven.repo.local=${WORK_DIR}/.repository"
sh "mv apache-maven/target/apache-maven-*-bin.zip apache-maven-dist.zip" sh "mv apache-maven/target/apache-maven-bin.zip apache-maven-dist.zip"
stash includes: 'apache-maven-dist.zip', name: 'dist' stash includes: 'apache-maven-dist.zip', name: 'dist'
} }
} finally { } finally {