From: Martin Stockhammer Date: Tue, 1 May 2018 12:22:21 +0000 (+0200) Subject: Trying to fix repo dir X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=fc50078362fca634b4366d15c51bba159cd2b021;p=archiva.git Trying to fix repo dir --- diff --git a/Jenkinsfile b/Jenkinsfile index 4d2d1fc81..7c9455737 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