diff options
Diffstat (limited to 'evergreen/blackduck_hub.sh')
-rwxr-xr-x | evergreen/blackduck_hub.sh | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/evergreen/blackduck_hub.sh b/evergreen/blackduck_hub.sh index f7edf2d486e..ce3d81fc79c 100755 --- a/evergreen/blackduck_hub.sh +++ b/evergreen/blackduck_hub.sh @@ -14,4 +14,14 @@ if [ "$branch_name" != "master" ]; then additional_args="--vulnerabilities_only" fi +# BlackDuck crashes on this gzip file because it is not well-formed +# invalid compressed data--format violated +rm ./src/third_party/zstandard/zstd/tests/gzip/hufts-segv.gz + +# Remove package.json since it only exists for vscode +# MongoDB server does not use Node.JS code so we strip this file to not confuse BlackDuck Detect +# Otherwise we need to run npm install to install everything in package.json or disable the NPM +# scanner. +rm package.json + python buildscripts/blackduck_hub.py -v scan_and_report --build_logger=mci.buildlogger --build_logger_task_id=${task_id} --report_file=report.json $additional_args |