jenkinsfile: update only netmodule layers in a nightly build
BugzID: 73574 Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
This commit is contained in:
parent
f4596c90b3
commit
d04eba6caa
|
|
@ -128,7 +128,7 @@ def handleSubmodules(versionParam) {
|
||||||
sh 'git submodule update' // set all submodules to freezed commit
|
sh 'git submodule update' // set all submodules to freezed commit
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
sh 'git submodule update --remote --rebase' // update all submodules to HEAD
|
sh 'git submodule update --remote --rebase meta-netmodule-*' // update our own submodules to HEAD
|
||||||
}
|
}
|
||||||
submoduleStatus = sh(returnStdout: true, script: "git submodule status").trim() // print submodule hashes to jenkins log
|
submoduleStatus = sh(returnStdout: true, script: "git submodule status").trim() // print submodule hashes to jenkins log
|
||||||
println "${submoduleStatus}"
|
println "${submoduleStatus}"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue