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

How to get the build results from Build Definition using Java API?

I was able to get the build engine and also related project area from a build definition but I could not get the build results that are associated for a build definition. 
Can some one suggest the ways using JAVA API please?

I also need to get the build Definitions history also through API.

Thanks and Regards,
Vijay Reddy.

0 votes


Accepted answer

Permanent link
I'd consider trying this approach https://jazz.net/wiki/bin/view/Main/BuildJavaProgrammingExamples#Querying_for_Builds_with_a_Given
Vijay Reddy Gaddam selected this answer as the correct answer

0 votes

Comments

Hi Ralph,


I have gone through this article. In this article I see that there is an information about the way for getting all the build results and from that build results finding the Build definition. 

But I need the information in the other way. I need to get the build results from the Build Definition, Since I see that a lot of build definition are being created by the Eu's and they are not deleting those build definitions after the usage has completed. So I need to get the information about the build results from Build definitions, such that I can prepare a report and discuss with the Eu about the re-usability and also creation and also deletion of the Build Definitions.

Can you please suggest any other alternatives if any?
 
Thanks and Regards,
Vijay Reddy.

https://jazz.net/wiki/bin/view/Main/BuildJavaProgrammingExamples#Querying_for_Builds_with_a_Given explains the query model - with tags. I would assume you can use the same query model with the build definition.

https://jazz.net/library/article/1229 explains that in section Querying for Items (I found that using a search engine).


 thank you ralph... I finally Achived my goal.

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,936
× 457

Question asked: Dec 08 '14, 12:31 a.m.

Question was seen: 5,418 times

Last updated: Sep 29 '16, 4:52 a.m.

Confirmation Cancel Confirm