forked from Hg/htlle-da-vorlage
include and update the HTL-Template submodule
This commit is contained in:
parent
0358b06f34
commit
189ab3596e
3
Jenkinsfile
vendored
3
Jenkinsfile
vendored
@ -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)) .
|
||||
'''
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user