diff --git a/vars/whitesourceExecuteScan.groovy b/vars/whitesourceExecuteScan.groovy index 9436275bd..6699d8f52 100644 --- a/vars/whitesourceExecuteScan.groovy +++ b/vars/whitesourceExecuteScan.groovy @@ -397,6 +397,9 @@ private def triggerWhitesourceScanWithUserKey(script, config, utils, descriptorU break } + // archive whitesource debug files, if available + archiveArtifacts artifacts: "**/ws-l*", allowEmptyArchive: true + if (config.reporting) { analyseWhitesourceResults(config, repository) }