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

How to publish code coverage results in the continuous build?

How to publish code coverage results in the continuous build?
We have employed an open source tool to do code coverage for us. Please let us know is there a way by which i can publish code coverage results along with the build.
We have tried using the jazz internal code coverage but it only gives a limited information.
On the other hand, we are more interested in some other artifacts which the open source tool provides us.
Please let me know if i can incorporate the complete code coverage report in the build results.
Any help/pointers will be highly appreciated.

1 vote



One answer

Permanent link
Hi Youraj,

I have described some option to publish anything to a build result in this article: https://jazz.net/library/article/797

There is a work item about publishing arbitrary data. You can subscribe to https://jazz.net/jazz/resource/itemName/com.ibm.team.workitem.WorkItem/94475 and contribute your thoughts.

The other option currently is to upload a file to the build result To view it you have to download it and open it locally.


1 vote

Comments

Hi Ralph. Thank you for your response. We have already gone through the links you have shared and its not of great help to us.

I came across the following link looking for a pointer

https://jazz.net/jazz/web/projects/Rational%20Team%20Concert#action=com.ibm.team.workitem.viewWorkItem&id=252967

The description of this plan correctly captures our requirement.
"Running of the tools is not normally a big issue; that's usually easy to script.  Where integration is really needed is in the presentation of data from such tools in the build result, including a quick summary to assess overall health of the build, and the ability to drill down if needed (e.g. if there are errors/warnings), with easy navigation to the associated source code"
Does this mean that it is still in planning phase and yet to be implemented?

The workitem you refer to is that parent of the one I mention in the answer above. It tracks planning for what you asked for. Since it is new, unassigned and planned for the backlog, it is still in the planning phase and yet to be implemented. It is not planned for any milestone yet, and other data on the plan item indicates that it is in the planning phase. There was some activity recently in the children.

As it is not available today, you could upload your data as suggested in the answer. I am not sure if one could provide a custom tab to the build result, but I assume it would be a bigger effort. The alternative I am aware of, is to store the data you want to publish in a folder that s published by a http server and publish the link at the build result as described in my article.


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
× 7,495
× 562

Question asked: Feb 25 '13, 2:43 a.m.

Question was seen: 7,030 times

Last updated: Feb 25 '13, 6:18 a.m.

Confirmation Cancel Confirm