Disable shallow checkout in initial setup step

Performing a shallow checkout breaks changelog computation, which is
required for accurate build failure notifications.
This commit is contained in:
ibtehajn
2021-05-12 11:04:54 +01:00
committed by Ibtehaj Nadeem
parent 8dbcd9f199
commit 3c3f3fa91e
+2 -1
View File
@@ -196,7 +196,8 @@ def CheckoutBootstrapScripts(String branchName) {
[ $class: 'SparseCheckoutPath', path: 'scripts/build/bootstrap/' ],
[ $class: 'SparseCheckoutPath', path: 'scripts/build/Platform' ]
]],
[$class: 'CloneOption', depth: 1, noTags: false, reference: '', shallow: true]
// Shallow checkouts break changelog computation. Do not enable.
[$class: 'CloneOption', noTags: false, reference: '', shallow: false]
],
submoduleCfg: [],
userRemoteConfigs: scm.userRemoteConfigs