aqa-test-tools icon indicating copy to clipboard operation
aqa-test-tools copied to clipboard

Set TRSS link in the Jenkins job

Open llxia opened this issue 1 year ago • 2 comments

TRSS monitors Jenkins's job. It would be nice if there was a link from the Jenkins build (top-level) to TRSS (both Build view and Grid view). It will make it more user-friendly to find a build in TRSS.

llxia avatar Apr 13 '23 17:04 llxia

https://stackoverflow.com/questions/25427622/changing-jenkins-build-name-description-through-api-in-java may be helpful.

llxia avatar Apr 13 '23 17:04 llxia

Another way of doing this is to add a general link in the job description from the Jenkins pipeline (i.e., For openjdk17-pipeline build, points to https://trss.adoptium.net/builds?buildName=openjdk17-pipeline&url=https%3A%2F%2Fci.adoptium.net%2Fjob%2Fbuild-scripts&type=Test). In this way, TRSS does not need to have permission to update the Jenkins job description.

https://plugins.jenkins.io/sidebar-link/ may be used for adding the link. https://stackoverflow.com/questions/62717135/how-can-i-use-jenkins-sidebar-link-plugin-in-pipeline-step

llxia avatar Apr 18 '23 15:04 llxia