SonarQube - View Portfolio Plugin aka Helicopter View nemo - Combined project indicators

I am doing POC to get "Helicopter" on our SonarQube example. I am using the latest version of SonarQube (5.1), Sonarnik (2.4), Gradle 2.3 (build system) on an RHEL 6.6 machine (Santiago).

Helicopter:

SonarQube plugin I'm trying to do: http://www.sonarsource.com/products/plugins/governance/portfolio-management/

The end result that I want on my SonarQube instance is as follows: http://nemo.sonarqube.org/ , and if you click on one of the VIEWs (which you can create using the Views Portfolio module), then it should provide to you COMBINED metrics / info for this presentation (which can be created by the user for this group Project / Product, projects belonging to the XYZ manager, department, etc. or for all applications / service projects in this organization, office, domain, etc. .d. Regardless of which projects you have chosen (manually / using regular expression s /, etc.) in VIEW, will appear as one component (thus displaying the combined user parameters).

Some links I'm trying to make: http://www.sonarqube.org/everythings-a-component/ , http://www.sonarsource.com/products/plugins/governance/portfolio-management/installation-and-usage / and http://www.sonarqube.org/measures-at-your-service/

I can get the above indicators, except for COMBINED of all projects (which I get for some widgets for ex: for tests / Unit / IT coverage, lines of code, filter, motion graph, component diagram, technical debt, complexity, Tangle index, duplication, etc. etc., etc.) is NOT displayed for other widgets (for example: SCM Top 10 authors, SCM is fixed per month for a certain period, SCM Top 10 author activity, etc.).

Please note: for the above widgets that do not display valid data for all component projects that are part of the VIEW / sub-view, I see widgets in the project itself. HAS valid completed data. It does not appear in the VIEW panel, where it should show the combined data (for SCM widgets *).

I get the following image for SCM * widgets in VIEW, which now contains only 2 projects (one application and one is a service project).

enter image description here

As I mentioned above, I can successfully see the valid information associated with these SCM * widgets when I go to the page of the individual project page and project service in SonarQube.

I'm not sure that the VIEWS Portfolio plugin cannot combine SCM * widget information to display combined information when widgets are on / on in the VIEW dashboard (which uses project panel options / widgets, as well as the SonarQube Views plugin installation / configuration documentation .

Has anyone successfully used the SCM widgets available on SonarQube in VIEW (created using the Views Portfolio module)? Thanks.

0
source share
1 answer

The SCM statistics plugin (and there are other kernel plugins) that are not provided or supported by SonarSource. Therefore, we see indicators at the project level, but not at the Views level. For the Build Stability widget, aggregation of its indicators is not available at the viewing level.

Views are intended for aggregation of code metrics, and not for additional indicators provided by plugins working around the code (CI, JIRA, ...)

The only thing I would like to find is why the Views plugin uses the same settings as the project toolbar. The Views plugin must support all widgets (to display combined indicators for code oriented or external to the code, for example, CI, JIRA, etc. Or any widgets. - VIEWER created using the Views Portfolio module MUST have its own dashboard (instead of using / depending on which panels / widgets we install for the project).

0
source

Source: https://habr.com/ru/post/1240576/


All Articles