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

RTC 1.0 Changing Build numbers via API

Hi,

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.
Mordechai

0 votes



3 answers

Permanent link
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:

https://jazz.net/wiki/bin/view/Main/RtcSdk
https://jazz.net/wiki/bin/view/Main/ClientLibrarySetup

There are examples of using the build APIs:

https://jazz.net/wiki/bin/view/Main/BuildJavaProgrammingExamples

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.

https://jazz.net/wiki/bin/view/Main/SCMUsingTheCliInBuilds

Cheers,
Jean-Michel

0 votes


Permanent link
Thanks, we succeeded.

0 votes


Permanent link
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:
http://jazz.net/help/rational-team-concert/1.0.1/topic/com.ibm.team.build.doc/topics/r_ant-tasks.html

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

Question asked: Jun 07 '09, 5:18 a.m.

Question was seen: 6,686 times

Last updated: Jun 07 '09, 5:18 a.m.

Confirmation Cancel Confirm