From 4caf1a51ace77483913c188b6f4b510cb8abb17a Mon Sep 17 00:00:00 2001 From: Clemens Lauermann Date: Mon, 20 Apr 2020 13:24:40 +0200 Subject: [PATCH] fix path issue for template folder --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 0e21d3c..abb132b 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -85,7 +85,7 @@ pipeline { stage('Checkout template') { steps { // remove template folder and fresh checkout - sh "rm -rf ${env.TEMPLATE_NAME}" + sh "rm -rf ${env.GIT_PATH}${env.TEMPLATE_NAME}" checkout([ $class: 'GitSCM', branches: [[name: '*/master']],