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

How to add multiple BuildResultContributions to a RTC Build Record?

I am trying to add multiple BuildResultContributions to an RTC Build Record which is not working.

I tried 2 different approaches to handle this scenario:

  1. using ITeamBuildClient.addBuildResultContribution() method by passing IBuildResultContribution instance. In this case, if I have multiple contribution instances, I iterated through them and invoked this method multiple times in the loop.
  2. using ITeamBuildClient.addBuildResultContributions() method by passing an array of IBuildResultContribution instances. In this case, I created an array of the contribution instances and passed this array to addBuildResultContributions() method along with other additional arguments.

In both the cases, it didn't work. In the RTC Build record, I am getting only one Snapshot contribution inspite of having multiple values.

I am using RTC SDK 4.0.1 API to handle this.

Please let me know if I am missing anything in this case.

0 votes



One answer

Permanent link
It would help if you described what you want to achieve.

Please use 'addBuildResultContribution site:jazz.net' in your search engine, there are several discussions where you might find hints. Some places to look at:

https://jazz.net/forum/questions/62642/add-log-to-build-result
https://jazz.net/wiki/bin/view/Main/BuildJavaProgrammingExamples

0 votes

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,938
× 562
× 411

Question asked: Dec 10 '13, 2:13 a.m.

Question was seen: 5,098 times

Last updated: Dec 10 '13, 4:16 a.m.

Confirmation Cancel Confirm