From 2f9af0e3f7df9b806eff9132cfcbd6c8a68efd8a Mon Sep 17 00:00:00 2001 From: Sebastian Schuberth Date: Fri, 19 Jan 2024 10:30:53 +0100 Subject: [PATCH] feat(jenkins): Add a label to link back the the build URL This can be used e.g. from the web-app report's "About" screen to jump back to the build that created the report. Signed-off-by: Sebastian Schuberth --- integrations/jenkins/Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/integrations/jenkins/Jenkinsfile b/integrations/jenkins/Jenkinsfile index aa6d3c4c86cb1..1cb45ecc2567b 100644 --- a/integrations/jenkins/Jenkinsfile +++ b/integrations/jenkins/Jenkinsfile @@ -487,7 +487,7 @@ pipeline { /opt/ort/bin/set_gradle_proxy.sh rm -fr out/results - /opt/ort/bin/ort $ORT_OPTIONS analyze -i "$PROJECT_DIR/source" -o out/results/analyzer + /opt/ort/bin/ort $ORT_OPTIONS analyze -i "$PROJECT_DIR/source" -o out/results/analyzer -l JENKINS_BUILD_URL=$BUILD_URL '''.stripIndent().trim() if (status >= ORT_FAILURE_STATUS_CODE) unstable('Analyzer issues found.')