Skip to content

Commit

Permalink
feat(jenkins): Add a label to link back the the build URL
Browse files Browse the repository at this point in the history
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 <sebastian@doubleopen.org>
  • Loading branch information
sschuberth committed Jan 19, 2024
1 parent 05417b7 commit 2f9af0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion integrations/jenkins/Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -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.')
Expand Down

0 comments on commit 2f9af0e

Please sign in to comment.