How to block your PR merge in SonarQube with BitBucket Server

Hi there,

Atlassian just released the 6.9 version of BitBucket Server that allows you to block Pull Requests merge if they don’t match the expected quality, ie. your Quality Gate for the PR is red.

To do that, it’s very easy :

That’s all! Once the CI analyses a PR that does not match expected quality, you will be able to see something like this :
image

See also:

Cheers,

5 Likes