]> source.dussan.org Git - archiva.git/commitdiff
Trying to fix repo dir
authorMartin Stockhammer <martin_s@apache.org>
Tue, 1 May 2018 12:22:21 +0000 (14:22 +0200)
committerMartin Stockhammer <martin_s@apache.org>
Tue, 1 May 2018 12:22:21 +0000 (14:22 +0200)
Jenkinsfile

index 4d2d1fc816cf69acd02288cce4c5b4deb99d4abf..7c945573704ccb93a5e03838c5579ab0734d5e1b 100644 (file)
@@ -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