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