Print out items in sparse item list if the list is not empty

This commit is contained in:
Dan Hawkins 2019-05-13 22:14:22 +01:00
commit 5be5dfce45

View file

@ -115,7 +115,7 @@ def gitCheckout(String gitURL, String revision, String targetDir, String repoRoo
[$class: 'CloneOption', depth: cloneDepth, noTags: false, reference: reporootpath, shallow: shallowClone, timeout: 120],
[$class: 'CheckoutOption', timeout: 120],
[$class: 'RelativeTargetDirectory', relativeTargetDir: targetDir],
[$class: 'SparseCheckoutPaths', sparseCheckoutPaths: sparsecheckoutconfig(sparseitemlist)],
[$class: 'SparseCheckoutPaths', sparsecheckoutconfig(sparseitemlist)],
],
submoduleCfg: [],
])