Jenkins: update submodules before caching kicks in

This commit is contained in:
Ștefan Talpalaru 2020-04-20 16:34:36 +02:00
parent edecce1751
commit d01eca677d
No known key found for this signature in database
GPG Key ID: CBF7934204F1B6F9
1 changed files with 2 additions and 1 deletions

3
Jenkinsfile vendored
View File

@ -1,8 +1,9 @@
def runStages() {
try {
stage("Clone") {
sh "rm -rf *"
checkout scm
/* we need to update the submodules before caching kicks in */
sh "git submodule update --init --recursive"
}
cache(maxCacheSize: 250, caches: [