fix checkout template to subdir

This commit is contained in:
Clemens Lauermann 2020-04-17 09:07:55 +02:00
parent 67e5184940
commit 1170109b54

7
Jenkinsfile vendored
View File

@ -3,8 +3,7 @@ pipeline {
options {
buildDiscarder(logRotator(artifactNumToKeepStr: '0'))
skipDefaultCheckout()
checkoutToSubdirectory('HTLLE-DA-Vorlage')
skipDefaultCheckout(true)
}
parameters {
string(name: 'USERNAME', defaultValue: 'Username', description: 'Benutzername')
@ -19,7 +18,9 @@ pipeline {
}
steps{
cleanWs()
checkout scm
dir('HTLLE-DA-Vorlage') {
checkout scm
}
}
}
stage('Build only template') {