Clean up `Jenkinsfile`
* It makes assumptions about plugins being installed, labels mapping to nodes that can build what is needed, etc.
*/
-def buildNumber = BUILD_NUMBER as int; if (buildNumber > 1) milestone(buildNumber - 1); milestone(buildNumber) // JENKINS-43353 / JENKINS-58625
-
def failFast = false
properties([
@@ -38,7 +36,7 @@ for (i = 0; i < buildTypes.size(); i++) {
// First stage is actually checking out the source. Since we're using Multibranch
// currently, we can use "checkout scm".
stage('Checkout') {
- checkout scm
+ infra.checkoutSCM()
}
def changelistF = "${pwd tmp: true}/changelist"
