This is an automated email from the ASF dual-hosted git repository.

olamy pushed a commit to branch master-jenkinsfile
in repository https://gitbox.apache.org/repos/asf/maven.git


The following commit(s) were added to refs/heads/master-jenkinsfile by this 
push:
     new 0972c0d77f use mvnw
0972c0d77f is described below

commit 0972c0d77feb6efaf0f1c45234e6d42b74d15d05
Author: Olivier Lamy <ol...@apache.org>
AuthorDate: Sat Mar 8 12:55:43 2025 +1000

    use mvnw
    
    Signed-off-by: Olivier Lamy <ol...@apache.org>
---
 Jenkinsfile | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/Jenkinsfile b/Jenkinsfile
index 1f1592ce34..b7a0b76601 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -50,7 +50,7 @@ node(jenkinsEnv.nodeSelection(osNode)) {
             String jdkName = jenkinsEnv.jdkFromVersion(buildOs, buildJdk)
             try {
                 withEnv(["JAVA_HOME=${ tool "$jdkName" }",
-                         "PATH+MAVEN=${ tool "$jdkName" }/bin:${tool 
maven_latest}/bin",
+                         "PATH+MAVEN=${ tool "$jdkName" }/bin:${tool 
'maven_latest'}/bin",
                          "MAVEN_OPTS=-Xms2g -Xmx4g -Djava.awt.headless=true"]) 
{
                     sh "mvn --errors --batch-mode --show-version 
org.apache.maven.plugins:maven-wrapper-plugin:3.3.2:wrapper -Dmaven=${buildMvn}"
                     sh "./mvnw clean ${MAVEN_GOAL} -B -U -e -fae -V 
-Dmaven.test.failure.ignore -Dmaven.repo.local=${WORK_DIR}/.repository"
@@ -84,7 +84,7 @@ for (String os in runITsOses) {
                             dir ('maven') {
                                 checkout scm
                                 withEnv(["JAVA_HOME=${ tool "$jdkName" }",
-                                         "PATH+MAVEN=${ tool "$jdkName" 
}/bin:${tool maven_latest}/bin",
+                                         "PATH+MAVEN=${ tool "$jdkName" 
}/bin:${tool 'maven_latest'}/bin",
                                          "MAVEN_OPTS=-Xms2g -Xmx4g 
-Djava.awt.headless=true"]) {
                                     sh "mvn --errors --batch-mode 
--show-version org.apache.maven.plugins:maven-wrapper-plugin:3.3.2:wrapper 
-Dmaven=${buildMvn}"
                                     sh "./mvnw clean install -B -U -e 
-DskipTests -V -PversionlessMavenDist 
-Dmaven.repo.local=${WORK_DIR}/.repository"
@@ -109,7 +109,7 @@ for (String os in runITsOses) {
 
                                 try {
                                     withEnv(["JAVA_HOME=${ tool "$jdkName" }",
-                                                "PATH+MAVEN=${ tool "$jdkName" 
}/bin:${tool maven_latest}/bin",
+                                                "PATH+MAVEN=${ tool "$jdkName" 
}/bin:${tool 'maven_latest'}/bin",
                                                 "MAVEN_OPTS=-Xms2g -Xmx4g 
-Djava.awt.headless=true"]) {
                                         sh "mvn --errors --batch-mode 
--show-version org.apache.maven.plugins:maven-wrapper-plugin:3.3.2:wrapper 
-Dmaven=${buildMvn}"
                                         String cmd = "${runITscommand} 
-Dmaven.repo.local=$WORK_DIR/.repository 
-DmavenDistro=$WORK_DIR/maven/apache-maven/target/apache-maven-bin.zip 
-Dmaven.test.failure.ignore"

Reply via email to