You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by sj...@apache.org on 2025/04/11 16:40:59 UTC

(maven) 01/01: Use dedicated local repo for ITs on Jenkins

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....@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}"