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

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.

0 votes



3 answers

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

0 votes


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

0 votes


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

0 votes

Comments

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

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
× 10,941

Question asked: Apr 17 '12, 9:06 a.m.

Question was seen: 4,606 times

Last updated: Oct 08 '13, 11:59 a.m.

Confirmation Cancel Confirm