Block pull requests if the Code Quality check failed

Block pull requests if the Code Quality check failed in Build pipeline of Azure Devops

  • CI system used (Azure DevOps)
  • Languages of the repository - Reactjs and Springboot
  • Error - SonarCloud/quality gate not able to select in dropdown of Status check in branching policies

Screenshot 2020-08-19 at 1.58.56 PM

Hi @srilakshmiattuluri and welcome to the community !

Do you have any issue commented by SonarCloud on this PR at first ?
Do you see any warning in your project’s dashboard (on the PR tab) for this analysis ?

Thanks.