Bitbucket cloud pull request decoration

I would really appreciate Bitbucket cloud pull request decoration.

We used Bitbucket for all of our private repositories. We use Bitbucket pipelines to send analysis to our self hosted Sonar server. Developers have no prompt in the bitbucket pull request to check Sonar and so pull requests with issues are sometimes merged accidentally.

We have a licence for Sonar developer edition.

My motivation for posting this feature request is the request on the pull request documentation page.

+1 for this, we are also bitbucket cloud and hosted sonar and are currently struggling to get the potential issues highlighted on a PR which are currently only found on the merge down to develop when another build is done and the quality gate breached on the main project

1 Like

+1 to this feature
It’s already available for “SonarCloud”, so I guess you’re not so far to get this implemented for the “Developer Edition” (hosted)

+1 as well - a side suggestion would be to let people add “+1” to posts.

+1 to your +1 suggestion!

Any update on this ? I am also looking to setup this. I tried the below plugin and no luck in setting up. It throws some error like this :

Caused by: java.lang.IllegalArgumentException: requirement failed: [sonar4bitbucket] The plug-in only works in preview or issues mode. Please set "-Dsonar.analysis.mode" accordingly.

But when you add flag the build still fails saying that the flag has been deprecated

Plugin: https://github.com/mibexsoftware/sonar-bitbucket-plugin

Hi @javapriyan,

Welcome to our community !

Supporting BitBucketCloud for SQ is on our roadmap, but we don’t have an ETA yet.

The plugin you mention is supported by an external provider.

Cheers

1 Like

@aurelie Thanks for the warm welcome. I would really like to contribute, Is there any specification documentation there that I can look into it ?

Here it is: https://jira.sonarsource.com/browse/MMF-1944

Cheers

Hi folks,
Just to let you know that Bitbucket cloud integration is officially on our roadmap for our next LTS. Expect to have some news during the next few months :slight_smile:

Kind regards,
Christophe

Hi folks,
a quick update for the ones who didn’t get the news : SonarQube 8.7 now fully supports Bitbucket Cloud (PR decoration) and Bitbucket Pipelines :slight_smile:

Wonderful news !! Hey, thanks for the update

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.