You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by ol...@apache.org on 2022/12/12 23:09:44 UTC
[maven] branch maven-3.9.x updated: fix path
This is an automated email from the ASF dual-hosted git repository.
olamy pushed a commit to branch maven-3.9.x
in repository https://gitbox.apache.org/repos/asf/maven.git
The following commit(s) were added to refs/heads/maven-3.9.x by this push:
new b4476a300 fix path
b4476a300 is described below
commit b4476a300f2d95407d12da41a1ab17f4ed19db52
Author: Olivier Lamy <ol...@apache.org>
AuthorDate: Tue Dec 13 09:09:28 2022 +1000
fix path
Signed-off-by: Olivier Lamy <ol...@apache.org>
---
Jenkinsfile | 8 +++-----
1 file changed, 3 insertions(+), 5 deletions(-)
diff --git a/Jenkinsfile b/Jenkinsfile
index 21db15104..05f7192dd 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -54,14 +54,12 @@ node(jenkinsEnv.nodeSelection(osNode)) {
"PATH+MAVEN=${ tool "$jdkName" }/bin:${tool "$mvnName"}/bin",
"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 "mv apache-maven/target/apache-maven-*-bin.zip apache-maven-dist.zip"
+ stash includes: 'apache-maven-dist.zip', name: 'dist'
}
} finally {
junit testResults: '**/target/surefire-reports/*.xml', allowEmptyResults: true
- }
- dir ('apache-maven/target') {
- sh "mv apache-maven-*-bin.zip apache-maven-dist.zip"
- stash includes: 'apache-maven-dist.zip', name: 'dist'
- }
+ }
}
}
}