ci: blackduck: Redirect standard output to a log file
redirect blackduck output job to `logs/blackduck.log. This change ensures that job execution continues without hitting log output limits, facilitating better monitoring and debugging. References: PCF-1794 Signed-off-by: Mouna Aloui <mouna.aloui@softathome.com>
This commit is contained in:
parent
d551f0d015
commit
80eda215d9
@ -20,6 +20,11 @@
|
||||
- sudo chmod +x detect.sh
|
||||
- |
|
||||
for dir in $(ls -d build_dir/target-*/*); do
|
||||
./detect.sh --blackduck.url=https://prplfoundation.app.blackduck.com --blackduck.api.token=$BLACKDUCK_API_KEY --detect.project.name=prplos --detect.project.version.name=$CI_COMMIT_REF_NAME-$target_name --detect.source.path=$dir --detect.excluded.detector.types=PIP,NPM
|
||||
|
||||
./detect.sh \
|
||||
--blackduck.url=https://prplfoundation.app.blackduck.com \
|
||||
--blackduck.api.token=$BLACKDUCK_API_KEY \
|
||||
--detect.project.name=prplos \
|
||||
--detect.project.version.name=$CI_COMMIT_REF_NAME-$target_name \
|
||||
--detect.source.path=$dir \
|
||||
--detect.excluded.detector.types=PIP,NPM 2>&1 | tee logs/blackduck.log
|
||||
done
|
||||
|
||||
Loading…
Reference in New Issue
Block a user