include and update the HTL-Template submodule

This commit is contained in:
Clemens Lauermann 2020-04-16 20:25:00 +02:00
parent 0358b06f34
commit 189ab3596e

3
Jenkinsfile vendored
View File

@ -35,10 +35,11 @@ pipeline {
expression { '.git' != params.REPOSITORY }
}
steps {
cleanWs()
sh '''
login_url_sub="https://"$(params.USERNAME)":"$(params.PASSWORD)"@"
sub='https;//'
git clone $($(params.REPOSITORY)/$(sub)/$(login_url_sub)) .
git clone --recurse-submodules --remote-submodules $($(params.REPOSITORY)/$(sub)/$(login_url_sub)) .
'''
}
}