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:
parent
b7f6d2115a
commit
32996777ed
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user