This is an automated email from the ASF dual-hosted git repository.

martin_s pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/archiva-parent.git


The following commit(s) were added to refs/heads/master by this push:
     new 825d74c  Switching back to job local maven repo
825d74c is described below

commit 825d74c66adfcd3b3ad6ecb9ed1544c606efe431
Author: Martin Stockhammer <m.stockham...@web.de>
AuthorDate: Sun Apr 29 20:14:34 2018 +0200

    Switching back to job local maven repo
---
 Jenkinsfile | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/Jenkinsfile b/Jenkinsfile
index 795f0c9..743f403 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -17,10 +17,10 @@ node(labels) {
         stage('Build') {
             timeout(20) {
                 withMaven(maven: buildMvn, jdk: buildJdk,
-                        mavenSettingsConfig: deploySettings
+                        mavenSettingsConfig: deploySettings,
+                        mavenLocalRepo: ".repository"
                 )
                         {
-                            sh "rm -rf .repository"
                             // Run test phase / ignore test failures
                             sh "mvn -B -U -e -fae clean install"
                         }
@@ -40,7 +40,8 @@ node(labels) {
         stage('Publish') {
             timeout(10) {
                 withMaven(maven: buildMvn, jdk: buildJdk,
-                        mavenSettingsConfig: deploySettings
+                        mavenSettingsConfig: deploySettings,
+                        mavenLocalRepo: ".repository"
                 )
                         {
                             sh "mvn -B -U -e -fae deploy"

-- 
To stop receiving notification emails like this one, please contact
marti...@apache.org.

Reply via email to