Jenkins: update submodules before caching kicks in
This commit is contained in:
parent
edecce1751
commit
d01eca677d
|
@ -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: [
|
||||
|
|
Loading…
Reference in New Issue