SonarCloud not reporting to Azure Pull Request Decoration/Status

  • ALM used: Azure DevOps
  • CI system used: Azure DevOps
  • Languages of the repository: C#, CSS

Org settings:

  • Bonded with Azure DevOps
  • Key with Code read/write

Project settings:

  • AzDo PAT with read/write
  • Provider set to Azure Devops
  • Part of a monorepo

Given the above Project settings, I’m seeing the following behavior:

  • Not all branches are being recorded, but all PRs are.
  • PR build analysis is working as expected, Quality Gate is functional
  • Background Tasks show no errors, correct sonar.pullrequest.provider and sonar.pullrequest.key
  • No status or comments are being posted to the PR, regardless of Quality Gate being success/fail

Hey @tylerj

Is the project itself bound to the correct repository on Azure DevOps (when you click on the Azure DevOps icon from within the project, it takes you to the repository the Pull Request is raised on)?

Hiya. Yeah, we’re currently bound. “See on Azure DevOps” links to our Org in AzDo.

While that shows the organization is bound, I’m more interested in the project itself. :slight_smile:

image

Yes, I can confirm that the project is bound. When clicking on the Azure link, it takes us to the repo in AzDO.

I’ve sent a private message to @bumperSlimkins and @tylerj asking for private project details.