Jenkins: update submodules before caching kicks in
This commit is contained in:
parent
edecce1751
commit
d01eca677d
|
@ -1,8 +1,9 @@
|
||||||
def runStages() {
|
def runStages() {
|
||||||
try {
|
try {
|
||||||
stage("Clone") {
|
stage("Clone") {
|
||||||
sh "rm -rf *"
|
|
||||||
checkout scm
|
checkout scm
|
||||||
|
/* we need to update the submodules before caching kicks in */
|
||||||
|
sh "git submodule update --init --recursive"
|
||||||
}
|
}
|
||||||
|
|
||||||
cache(maxCacheSize: 250, caches: [
|
cache(maxCacheSize: 250, caches: [
|
||||||
|
|
Loading…
Reference in New Issue