How to associate prorammatica a completed build to a release
I would like to associate a completed build to a release by program (not web UI) at the end of Acceptance Tests processes.
This to be able to report in Work Item found-in field on this release. Can we use Java API/REST API to do this? if yes code guideline will be welcome. |
3 answers
Ralph Schoon (63.6k●3●36●46)
| answered Apr 17 '12, 9:44 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Hi,
https://jazz.net/library/article/807 shows how to find the releases associated to a build using the Plain Java Client Libraries. That might be a good starter. |
Hi, Hi Ralph Thank you for your help I have read this document, and it related already associated releases to a build Do you know how to do to make a existing buildResult associated to a release (deliverable) ? I did not find any method on this Roger Layani |
Ralph Schoon (63.6k●3●36●46)
| answered Apr 19 '12, 2:29 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Hi Roger,
I haven't tried to associate or create a delivery. You could follow the RTC Extensions workshop and set up the SDK. Then you can browse the source code and the JUnit tests for the classes I use. From the packages you can see in which area you need to search the API. You could use the plugin spy too on the build result editor in eclipse. See: http://ryehle.wordpress.com/2011/11/21/finding-the-right-service-api-for-your-process-extension/ . Most important is to have an example to understand which part of the API to explore. Comments
Daniel martin
commented Oct 08 '13, 11:59 a.m.
Has any more work been done on this question? I am now in the same situation. At the end of a build I need to create a release for a build if certain criteria are met. |
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.