Make Jenkinsfile more resilient against engine tag shenanigans

This commit is contained in:
Pieter-Jan Briers
2021-02-02 03:39:31 +01:00
parent b0482dcb63
commit d0d2434fba

3
Jenkinsfile vendored
View File

@@ -5,6 +5,9 @@ pipeline {
stage('Setup') {
steps {
sh 'git submodule update --init --recursive'
// Do a git fetch to make sure tags in the engine get pulled in if they've been added later.
// Can happen if somebody forgot to tag the engine then tried to fix it by tagging later.
sh 'git submodule foreach \\"git fetch\\"'
}
}
stage('Build') {