From 80eda215d970ed30902ed522eb723029b083bd88 Mon Sep 17 00:00:00 2001 From: Mouna ALOUI Date: Wed, 5 Nov 2025 09:00:19 +0100 Subject: [PATCH] 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 --- .gitlab/blackduck.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.gitlab/blackduck.yml b/.gitlab/blackduck.yml index 25891ececb..a516204850 100644 --- a/.gitlab/blackduck.yml +++ b/.gitlab/blackduck.yml @@ -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