mirror of https://github.com/apache/maven.git
parent
b4476a300f
commit
13cf1aa119
|
@ -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 {
|
||||||
|
|
Loading…
Reference in New Issue