From aa9f78d8138f12f29cc7b3775bfcea2e296ee874 Mon Sep 17 00:00:00 2001 From: Martin Stockhammer Date: Tue, 1 May 2018 14:23:44 +0200 Subject: [PATCH] Trying to fix repo dir --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 7c9455737..0a7bda553 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -15,7 +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('/', '_')}" + REPO_DIR = "${PWD}/.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