Pull request analysis for Bitbucket Server

SonarQube Server Developer Edition v2025.2 (105476), zip

Our CI tool is Bitbucket Server and we would like to prevent pull request merges when the Sonar quality gate fails.

Preventing pull request merges when the quality gate fails

A prerequisite to achieve this is to set up pull request analysis.

Pull request analysis

However, the article above suggests that it is not possible to set up pull request analysis for Bitbucket server.

Can I confirm this?

Hey there.

Where are you getting that from the docs? It’s totally possible to decorate PRs in Bitbucket server. If you aren’t using a CI/CD tool that supports automatically configuring PR parameters, you can provide them yourself.