We are using Bitbucket Pipelines with SonarScanner for .NET (as described in the link below). It’s all working fine, and results are uploaded to SonarCloud where the Quality Gate is indicating failed, as it should. Is there a way using the SonarScanner tool for .NET (or any other way) to stop the build pipeline when the Quality Gate fails?
I’ve read this is possible using the sonarcloud-scan and sonarcloud-quality-gate pipes, however the scanner doesn’t support .NET.
Any advice on how to achieve this?