forked from Hg/htlle-da-vorlage
Jenkins: Buildjob: GIT Pfad beim Template löschen berücksichtigen
This commit is contained in:
commit
04be6f2b83
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
@ -85,7 +85,7 @@ pipeline {
|
|||||||
stage('Checkout template') {
|
stage('Checkout template') {
|
||||||
steps {
|
steps {
|
||||||
// remove template folder and fresh checkout
|
// remove template folder and fresh checkout
|
||||||
sh "rm -rf ${env.TEMPLATE_NAME}"
|
sh "rm -rf ${env.GIT_PATH}${env.TEMPLATE_NAME}"
|
||||||
checkout([
|
checkout([
|
||||||
$class: 'GitSCM',
|
$class: 'GitSCM',
|
||||||
branches: [[name: '*/master']],
|
branches: [[name: '*/master']],
|
||||||
|
Loading…
Reference in New Issue
Block a user