It's all about the answers!

Ask a question

RTC 1.0 Changing Build numbers via API

mordechai lehrer (621) | asked Jun 07 '09, 5:18 a.m.

Where can I find some examples of using the API to manipulate enumeration values and interact with the Jazz build engine?

I'm currently using Cruise Control to manage builds and would like to inform a separate RTC server that a new build is available and populate respective drop downs for bug and work item purposes.

Any help is appreciated.

3 answers

permanent link
Jean-Michel Lemieux (2.5k11) | answered Jun 07 '09, 8:16 p.m.
We don't have any ant tasks "out of the box", but this should be possible without much trouble. You could create a couple of ant tasks which call the plain java APIs.

For help, see the 1.0 SDK at:

There are examples of using the build APIs:

Evan on my team is also working on extending some of the build support for custom scm tasks, this is against 2.0, but the ideas can be applied to 1.0.


permanent link
mordechai lehrer (621) | answered Jun 22 '09, 8:24 a.m.
Thanks, we succeeded.

permanent link
Nick Edgar (6.5k711) | answered Jun 22 '09, 12:04 p.m.
Glad to hear. I should clarify, though, that there are existing Ant tasks to create/start a build result, report activity progress, add contributions, and mark it complete.

See the startTeamBuild, startBuildActivity, and completeTeamBuild tasks, and the various publishing tasks, in the Jazz build Ant task reference.
This is available in the Eclipse client Help, or here:

Your answer

Register or to post your answer.