Azure build breaker on quality gate failure

Hello community,
We are using SonarQube version 9.7 with Azure build pipelines and are trying to look for a way to break builds when the sonarqube quality gate conditions are not met. We are able to get the analysis and publish results tasks to be successfully running but finding it challenging to integrate the quality gate results with build outcome.
Is there a plugin today I can use to achieve this other than “SonarQube build breaker” that is not an official plugin by SonarSource?
Are the results from sonarqube analysis downloaded on to Azure build server at any path so we can read the contents of the file to find the quality gate results?
Right now the only way I could do this is using sonarqube APIs to get the quality gate results and fail/pass the build. Appreciate if anyone can suggest a better way.

Thanks

Hey there.

Take a look at this thread:

1 Like

Thanks Colin. This worked.