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']],