It's all about the answers!

Ask a question

How to add multiple BuildResultContributions to a RTC Build Record?


Murali Krishna Adiraju (133) | asked Dec 10 '13, 2:13 a.m.
edited Dec 10 '13, 4:16 a.m. by Ralph Schoon (55.5k23642)

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.

One answer



permanent link
Ralph Schoon (55.5k23642) | answered Dec 10 '13, 4:16 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
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

Your answer


Register or to post your answer.