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 |
3 answers
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 |
|
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 |
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.