Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

RTC Build Labels for BuildForge Builds not being updated by a retag

Slight rewording of an existing question...apologies if this is incorrect etiquette.  When I invoke a BuildForge type of build the BF project that gets invoked has a static tag (e.g. BUILD_$B).  In my case this project is generic and when supplied with a parameter actually invokes another BF project (PROJECT_NAME).

At that point I retag the BF project with the PROJECT_NAME_$B tag and that's great in Buildforge, the job log correctly refers to the correct tag.

However RTC is oblivious to this change, and remains as BUILD_$B

Is there any way to affect this build label?  Even at the time of calling, since PROJECT_NAME is supplied as a property to the BF Engine that would be good to use.

Thanks

Rob

0 votes



One answer

Permanent link
 You can affect the build label through the API.  The name of the BF build in RTC is tracked with the configuration element: com.ibm.rational.connector.buildforge.project

So you could set something up like this:
definition.getConfigurationElement("com.ibm.rational.connector.buildforge").getConfigurationProperty("com.ibm.rational.connector.buildforge.project").setValue(retag_string);

This will persist on the Build Definition, so you should either set it back to the default, or make sure you call it each time.

~Spencer
 

0 votes

Your answer

Register or log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 6,121

Question asked: Feb 05 '13, 9:36 a.m.

Question was seen: 6,585 times

Last updated: Sep 05 '13, 6:06 a.m.

Related questions
Confirmation Cancel Confirm