ci: blackduck: Add tar.gz archiving of BlackDuck scan output

Add tar.gz archiving of BlackDuck scan output to preserve logs for
debugging.

References: PCF-1794
Signed-off-by: Mouna Aloui <mouna.aloui@softathome.com>
This commit is contained in:
Mouna ALOUI 2025-11-06 11:07:08 +01:00
parent b7f6d2115a
commit 32996777ed

View File

@ -27,3 +27,6 @@
--detect.source.path=$dir \
--detect.excluded.detector.types=PIP,NPM 2>&1 | tee logs/blackduck.log
done
after_script:
- mkdir -p bin
- tar -czf bin/blackduck-scan-output.tar.gz /home/builder/blackduck/runs/*/scan/BlackDuckScanOutput/* 2>/dev/null || true