Setting the build label from Jenkins
I noticed using the jenkins plugin that the default ${BUILD_NUMBER} is used as the build labe. Is there a way to override this?
|
3 answers
Hi David, there's no way to override the format, e.g. using a property, but we'd like to allow that (across the board, not just for the Jenkins integration). Tracked in Support property to specify build label format (113599)
The only other approach currently is to use the buildResultPublisher Ant task to change the label.
|
I don't believe there is a way to override at this time. The RTC to Jenkins integration uses the label to determine RTC -> Jenkins linkages. I don't know if the plugin requires the same information, but I don't think the label can be customized.
~Spencer
|
There is a way to do this using the Java API - it's documented here: https://jazz.net/wiki/bin/view/Main/BuildJavaProgrammingExamples |
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.