It's all about the answers!

Ask a question

How to update build definition property values with RTC Java API


mark byrd (14712330) | asked May 01 '13, 7:58 a.m.
I have a build definition to which I've added a property name.  For specific build instances using that build definition, I want to pass a value on that property name to control certain aspects of the build. I would like the value use to be "one instance only". Can I programmatically remove the value using the RTC Java API, or some other technique?

One answer



permanent link
mark byrd (14712330) | answered May 07 '13, 7:49 a.m.
Found it.

IBuildDefinition definition = (IBuildDefinition) buildDefinition.getWorkingCopy();
definition.setProperty("propertyName","");
definition = buildClient.save(definition, monitor);

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.