It's all about the answers!

Ask a question

Setting the build label from Jenkins


David Arnone (111619) | asked Sep 04 '14, 3:56 p.m.
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



permanent link
Nick Edgar (6.5k711) | answered Sep 04 '14, 5:14 p.m.
JAZZ DEVELOPER
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.

permanent link
Spencer Murata (2.3k115971) | answered Sep 04 '14, 5:20 p.m.
FORUM MODERATOR / JAZZ DEVELOPER
 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

permanent link
Peter Carenza (136) | answered Oct 02 '20, 11:58 a.m.

 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


Register or to post 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.