Decorate PR analysis in Bitbucket Cloud


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.4 (docker image) + “Developer Edition” license. I’m able to get the branches and pull-request analysis/results on the SonarQube portal but failing to get SonarQube to decorate back into the Bitbucket pull-requests.

The documentation here seems to suggest it may should work, (sonar.pullrequest.provider as bitbucketcloud but the only available option in configuration is github or vsts).

I see Bitbucket Server is now supported under SonarQube 7.7 and Bitbucket Cloud is supported on SonarCloud.

Any help would be much appreciated


Looking at the 7.7 configuration options (Administration > Pull Requests), I see that you can/must specify the URL of your BB server. We can’t officially support SQ + cloud services (see the footnote in this post) but I don’t see any reason it shouldn’t work once you upgrade.