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

sjaranowski pushed a commit to branch it-local-repo-3.9.x
in repository https://gitbox.apache.org/repos/asf/maven.git

commit cb51815d4a3700c1cf4a3df922a9a7bc552be3de
Author: Slawomir Jaranowski <s.jaranow...@gmail.com>
AuthorDate: Fri Apr 11 18:40:28 2025 +0200

    Use dedicated local repo for ITs on Jenkins
---
 Jenkinsfile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Jenkinsfile b/Jenkinsfile
index 7f9c7c2e26..4fea31caf7 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -112,7 +112,7 @@ for (String os in runITsOses) {
                             withEnv(["JAVA_HOME=${ tool "$jdkName" }",
                                         "PATH+MAVEN=${ tool "$jdkName" 
}/bin:${tool "$mvnName"}/bin",
                                         "MAVEN_OPTS=-Xms2g -Xmx4g 
-Djava.awt.headless=true"]) {                                               
-                                String cmd = "${runITscommand} 
-DmavenDistro=$WORK_DIR/dists/apache-maven-bin.zip -Dmaven.test.failure.ignore"
+                                String cmd = "${runITscommand} 
-DmavenDistro=$WORK_DIR/dists/apache-maven-bin.zip -Dmaven.test.failure.ignore 
-Dmaven.repo.local=$WORK_DIR/it-local-repo"
                                 if (isUnix()) {
                                     sh 'df -hT'
                                     sh "${cmd}"

Reply via email to