From fc50078362fca634b4366d15c51bba159cd2b021 Mon Sep 17 00:00:00 2001 From: Martin Stockhammer Date: Tue, 1 May 2018 14:22:21 +0200 Subject: [PATCH] Trying to fix repo dir --- Jenkinsfile | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) 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 -- 2.39.5