forked from Hg/htlle-da-vorlage
fix checkout template to subdir
This commit is contained in:
parent
67e5184940
commit
1170109b54
5
Jenkinsfile
vendored
5
Jenkinsfile
vendored
@ -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,9 +18,11 @@ pipeline {
|
||||
}
|
||||
steps{
|
||||
cleanWs()
|
||||
dir('HTLLE-DA-Vorlage') {
|
||||
checkout scm
|
||||
}
|
||||
}
|
||||
}
|
||||
stage('Build only template') {
|
||||
when {
|
||||
expression { '.git' == params.REPOSITORY }
|
||||
|
Loading…
Reference in New Issue
Block a user