Sonarqube - BitBucket - Pull Request Blocker

sonarqube
bitbucket
pull-request
(Simon Vanveerdeghem) #1

Hi,

I’m testing the pull request functionality, but my pull request is not blocked by the Quality Gate.
I followed https://docs.sonarqube.org/latest/analysis/pull-request/.

But I see the following in Bitbucket docs: https://developer.atlassian.com/server/bitbucket/how-tos/code-insights/

A failed report will not block the merge
Posting a failed report will not stop a pull request from being merged. There are build status settings that can be set up for a repository or project that will block the merge so it is recommended to also post a failed build status if wanting a report to affect the mergability of a pull request.

What should I do to block the merge?

Version: 7.7.0.23042
BitBucket: v5.15.1

1 Like
(G Ann Campbell) #11

Hi,

Thanks for this report. We’re discussing it internally. Hopefully something tangible will come of it “soon”.

 
:slight_smile:
Ann