Use SonarCloud to fail Azure DevOps build if violating gates

I am using AzureDevOps both as the git repo and the CI system. I am wondering if there is a way to use Sonarcloud to prevent builds that have issues from completing. I know that I can block PRs with quality gates, that works, but I am wondering if I can go one step further and prevent builds from completing.

Thank you for any help you can provide!

Hey there.

Take a look at the docs here referring to sonar.qualitygate.wait.

Thank you Colin, that did exactly what was needed!

1 Like

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