Skip to content

Commit d53d8bf

Browse files
Use dedicated local repo for ITs on Jenkins
1 parent 62648b8 commit d53d8bf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Jenkinsfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ for (String os in runITsOses) {
112112
withEnv(["JAVA_HOME=${ tool "$jdkName" }",
113113
"PATH+MAVEN=${ tool "$jdkName" }/bin:${tool "$mvnName"}/bin",
114114
"MAVEN_OPTS=-Xms2g -Xmx4g -Djava.awt.headless=true"]) {
115-
String cmd = "${runITscommand} -DmavenDistro=$WORK_DIR/dists/apache-maven-bin.zip -Dmaven.test.failure.ignore"
115+
String cmd = "${runITscommand} -DmavenDistro=$WORK_DIR/dists/apache-maven-bin.zip -Dmaven.test.failure.ignore -Dmaven.repo.local=$WORK_DIR/it-local-repo"
116116
if (isUnix()) {
117117
sh 'df -hT'
118118
sh "${cmd}"

0 commit comments

Comments
 (0)