SonarCloud Quality Gate status check (Preview) - Azure Devops Task Group error

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)
    image
  • Steps to reproduce
    1. Create task group
    2. Add Tasks as per below
  1. Attempt to save.
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