Azure status Policy\Quality gate not found in drop down list

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 .NET
    • And if you need help with pull request decoration, PR private
  • Followed Documentation pointed to by SonarCloud to setup PR decoration, drop down never appears even after all branches analyzed and posted to SonarCloud.
  • Follow documentation to setup PR decoration for Azure DevOps.
  • Potential workaround: none found

Here is one of the steps I followed : https://writeabout.net/2019/04/18/use-pull-request-decoration-in-azure-devops-with-sonarcloud/

None of the steps I have followed fixes the missing drop down selection.

Hi,

In order to have the dropdown, you’ll have to first have a pull request (not only the branch) already analyzed by SonarCloud (i suggest you to follow Exercise 3 of this lab to make sure that you have properly configured pull request analysis if it’s not the case.

You can anyway enter the name “SonarCloud/quality gate” by hand in the field, it should be working.

1 Like