Template for a good new topic, formatted with Markdown:
- ALM used (Azure DevOps)
- CI system used (Azure DevOps
- Scanner command used when applicable (default)
- Languages of the repository
- Only if the SonarCloud project is public, the URL
- And if you need help with pull request decoration, then the URL to the PR too
- Error observed (wrap logs/code around with triple quotes ``` for proper formatting)
- Steps to reproduce
- Create task group
- Add Tasks as per below
- Attempt to save.
- Potential workaround
Revert to using community task for build breaker
1 Like
Hi @davidjsteele,
The Check SonarCloud Quality Gate status task is intended to be used in the Release pipelines, not in the Build Pipelines. It’s a pre-deployment condition that will check the status of the Quality Gate linked to the build, and then will not process the subsequent release if it’s in a failed state.
You can read more about it in our documentation here
Thanks.
Mickaël
2 Likes
You are the first one ever to tell me that the SonarCloud Quality gate is not meant to be used in build pipelines. We use it as quality gate for our pull requests and it works fine so far.