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:
Vendored
+2
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user