QualInsight / qualinsight-plugins-sonarqube-badges

Plugin for SonarQube that generates badges displaying information about a project's or view's quality.
GNU Lesser General Public License v3.0
110 stars 141 forks source link

it_coverage metrics showing N/A #68

Closed vhamon closed 7 years ago

vhamon commented 7 years ago

It does not works since some time, but sorry I can't tell exactly since when it does not work.

As you can see in my README, it_coverage shows N/A instead of X% : https://github.com/armadito/armadito-glpi/blob/DEV/README.md

pawlakm commented 7 years ago

Hi,

This is unfortunately the expected behaviour since SonarQube 6.2. Indeed in 6.2 they removed the it_coverage and overall_coverage metrics. As the metric is not computed anymore, it cannot be retrieved by the Badges plugin, hence the N/A.

For more information please check their JIRA: https://jira.sonarsource.com/browse/MMF-345

Cheers,

Michel

pawlakm commented 7 years ago

By the way I closed the issue, because your badge is pointing to the sonarqube.com instance and I know for sure that the metric removal is the root cause of your problem).

You should use the coverage metric instead. I'll update the wiki page this week end in order to indicate which SQ version is required to display the corresponding badge.

vhamon commented 7 years ago

Thanks, Okay, that's fine. I will use coverage metrics instead :)

pawlakm commented 7 years ago

wiki updated