This is an automated email from the ASF dual-hosted git repository. olamy pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/maven-jenkins-lib.git
The following commit(s) were added to refs/heads/master by this push: new 52261ae use a special local repo to have a bit of caching 52261ae is described below commit 52261ae8318501fc94cd8ccac2f209029ecfcc17 Author: Olivier Lamy <ol...@apache.org> AuthorDate: Sun Dec 30 15:23:10 2018 +1000 use a special local repo to have a bit of caching --- vars/asfMavenTlpPlgnBuild.groovy | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 @@ def doCreateTask( os, jdk, maven, tasks, first, plan, taskContext ) 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 @@ def doCreateTask( os, jdk, maven, tasks, first, plan, taskContext ) 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),