I’m looking for getting our pull-request (bitbucket cloud) being decorated by the pull-request/branches analysis done by SonarQube.
We’re running now SonarQube 7.1 (docker image) + “Developer Edition” license. Despite we were able to get the branches and pull-request analysis/results on the SonarQube portal, I don’t know how we can decorate back into the Bitbucket pull-requests the SonarQube results and quality gate (since in our workflow, and I guess in most of the use cases out there, we’re expecting the gatekeeping process to happen as part of the pull-request process in Bitbucket)
According to this doc: https://docs.sonarqube.org/display/SONAR/Pull+Request+Analysis that feature is not supported by Developer Edition…
The only decoration we have now is being implemented by this plugin:
But, it has some drawbacks:
- It requires a deprecated parameter “sonar.analysis.mode=issues” to work
- Using that analysis mode in any case means we cannot use the Branch and PR feature you have introduced. No results available in the SonarQube portal.
- Test coverage is ignored when decorating the pull-requests / So quality gating just by rules priority
So we’re in a situation were we’re “close to”, but we cannot really close the loop and have SonarQube fully integrated into our pull-request workflow using Bitbucket Cloud.
Any help is more than welcome.
Thanks in advanced!