How to reject code check-in in Bitbucket Server Repository when SonarQube Quality Gate fails?

Hi,

I am using Bitbucket Server (On-Premises) Repository & SonarQube (On-Premises).

I want to reject code check-in in Bitbucket Server Repository when SonarQube Quality Gate fails. (for e.g. SonarQube - Rejecting Code Check-in when Quality Gates are not met - samirbehara)

Please let me know the steps on how to do this task.

Thanks in advance.

Hi Vivek:

Welcome to the SonarSource community.

You can block a Pull Request when the SonarQube quality gate fails.

Here are the instructions: Bitbucket Server Integration: Preventing pull request merges when the Quality Gate fails.

ā€”
Regards,
Monty

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