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

扶醉桌前 提交于 2019-12-31 21:34:28

问题


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.


回答1:


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.



来源:https://stackoverflow.com/questions/12844190/how-do-i-gather-teamcity-code-coverage-reports-from-multiple-projects-into-one-r

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!