I have a jenkins build that runs sonar analysis on my code base, which is a multi-module maven project. The sonar results allow me to view coverage and issues by drilling down from the project as a whole to the modules, then the packages in those modules, then the classes in those packages.

Is there a way to create different views of the sonar analysis that span different aspects of the project, e.g. "show me the results for packages A,B,C in module M1 and packages X,Y,Z in module M2"?

All this information is (I assume) stored in the database for the project. There may be a plugin that already does this, or maybe I need to write a plugin of my own that queries the database.

没有正确的解决方案

其他提示

I believe the Views plugin should answer your need: http://www.sonarsource.com/products/plugins/governance/portfolio-management/.

If you want an example of how to use it, here is a post on my blog: http://qualilogy.com/en/your-own-quality-model/. Not recent, but you'll get the idea.

Regards.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top