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.git


The following commit(s) were added to refs/heads/master by this push:
     new fc50078  Trying to fix repo dir
fc50078 is described below

commit fc50078362fca634b4366d15c51bba159cd2b021
Author: Martin Stockhammer <[email protected]>
AuthorDate: Tue May 1 14:22:21 2018 +0200

    Trying to fix repo dir
---
 Jenkinsfile | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/Jenkinsfile b/Jenkinsfile
index 4d2d1fc..7c94557 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -8,10 +8,6 @@ pipeline {
         label "${LABEL}"
     }
 
-    environment {
-        REPO_DIR = "${env.JENKINS_HOME}/.repo-${env.JOB_NAME.replace('/', 
'_')}"
-    }
-
     stages {
 
 
@@ -19,6 +15,7 @@ pipeline {
             steps {
                 script {
                     currentBuild.description = "This builds, tests and deploys 
the current artifact from archiva master branch."
+                    REPO_DIR = 
"${env.JENKINS_HOME}/.repo-${env.JOB_NAME.replace('/', '_')}"
                     echo "Info: Job-Name=${JOB_NAME}, Branch=${BRANCH_NAME}, 
Workspace=${PWD}, Repo-Dir=${REPO_DIR}"
                 }
                 checkout scm

-- 
To stop receiving notification emails like this one, please contact
[email protected].

Reply via email to