Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I gather TeamCity code coverage reports from multiple projects into one report?

We use the build in coverage application in TeamCity 6 (about to upgrade to 7.1) If we wish to see the code coverage (or other metrics) of a particular build it is fine as we can navigate to that build, but it would be great if we could pluck out a few interesting metrics from all/some of the current projects/build configurations and display them all together.

For convenience I would expect the new display to be accessible from within TeamCity itself, however if there are solutions that require a separate solution we could look at them.

like image 998
Loofer Avatar asked Oct 11 '12 16:10

Loofer


1 Answers

If you want to compare a set of common metrics (e.g. code coverage) across different projects and over time then SonarQube is probably what you want.

You can integrate it with TeamCity by adding a sonar-project.properties file to each project and calling sonar-runner from a command line build step.

like image 180
Jeff Johnston Avatar answered Nov 16 '22 03:11

Jeff Johnston