From d39a952d9dc324785f19863c94327519eff5bc8f Mon Sep 17 00:00:00 2001 From: Olivier Lamy Date: Wed, 18 Apr 2018 14:32:49 +1000 Subject: [PATCH] Update Jenkinsfile --- Jenkinsfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 36b563f8d..d185affe9 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -21,9 +21,10 @@ node (labels) { timeout(120) { withMaven(maven: buildMvn, jdk: buildJdk, mavenSettingsConfig: deploySettings, - mavenLocalRepo: "${env.JENKINS_HOME}/${env.EXECUTOR_NUMBER}" + mavenLocalRepo: ".repository" ) { + sh "rm -rf .repository" // Run test phase / ignore test failures sh "mvn -B clean deploy -Dmaven.test.failure.ignore=true" } -- 2.39.5