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

quality gate badges cannot be displayed if "execute analysis" restrictions are set #42

Closed pawlakm closed 8 years ago

pawlakm commented 8 years ago

Due to SONAR-7628, version 2.0.x of the SVG Badges plugin is currently not able to display quality gate badges if your SonarQube server is configured to restrict analysis execution rights. When analysis execution restrictions are set, quality badges are displayed as "not found" badges.

This limitation will be removed in SonarQube 5.6 (begining of June). Note that, if "anybody" can execute an analysis, then the quality gate badges are displayed correctly.

pawlakm commented 8 years ago

I won't fix this issue as the alternate way to retrieve the quality gate status (through the component WS and quality_gate_details) is really awful to implement using local connector (especially the part consisting in retrieving measures and quality gate conditions as they are not represented as JSON arrays anymore) and as SQ 5.6 will be out in around 2 weeks.