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. |
Accepted answer
Ralph Schoon (63.5k●3●36●46)
| answered Dec 08 '14, 3:20 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
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
Comments
Vijay Reddy Gaddam
commented Dec 08 '14, 4:02 a.m.
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.
Vijay Reddy Gaddam
commented Dec 08 '14, 6:45 a.m.
thank you ralph... I finally Achived my goal. |
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.