use a special local repo to have a bit of caching
diff --git a/vars/asfMavenTlpPlgnBuild.groovy b/vars/asfMavenTlpPlgnBuild.groovy
index 6502fe8..dfb8492 100644
--- a/vars/asfMavenTlpPlgnBuild.groovy
+++ b/vars/asfMavenTlpPlgnBuild.groovy
@@ -141,7 +141,7 @@
cmd += 'verify'
cmd += '-Papache-release'
}
-
+ def localRepo = "../.maven_repositories/${env.EXECUTOR_NUMBER}" // ".repository" //
def disablePublishers = !first
first = false
String stageId = "${os}-jdk${jdk}-m${maven}_${plan}"
@@ -178,7 +178,7 @@
cleanWs()
echo "[FAIL FAST] ${taskContext.failingFast} has failed. Skipping ${stageId}."
} else try {
- withMaven(jdk:jdkName, maven:mvnName, mavenLocalRepo:'.repository', options: [
+ withMaven(jdk:jdkName, maven:mvnName, mavenLocalRepo:localRepo, options: [
artifactsPublisher(disabled: disablePublishers),
junitPublisher(ignoreAttachments: false),
findbugsPublisher(disabled: disablePublishers),