Pull request decoration doesnt work in some projects

  • ALM used Azure DevOps
  • CI system used Azure DevOps
  • Scanner command used when applicable (private details masked)
  - task: SonarCloudPrepare@1
    inputs:
      SonarCloud: 'SonarCloud'
      organization: ''
      scannerMode: 'MSBuild'
      projectKey: ''
      extraProperties: |
        sonar.cs.opencover.reportsPaths=$(Agent.BuildDirectory)/**/*opencover.xml
        sonar.coverage.exclusions=**Test*.cs'
  - task: SonarCloudAnalyze@1
  - task: SonarCloudPublish@1
    inputs:
      pollingTimeoutSec: '300'
  • Languages of the repository

    • dotnet
  • Only if the SonarCloud project is public, the URL

    • The project is private
  • Error observed (wrap logs/code around with triple quotes ``` for proper formatting)

    • We’re facing an issue with pull request decoration in two projects. Despite successful analyses on SonarCloud, the decoration remains in a “waiting” state.
  • Steps to reproduce

    • Pipeline tasks work normally, the result is published to SonarCloud but does not transmit to Azure DevOps
    • Token is valid according to SonarCloud
      pull request

    pipeline

  • Potential workaround
    • This only happens in two projects. It’s worth noting that the others are functioning correctly with the same pipeline configurations.

Hey there.

Is this project bound?

Hey Colin,

Yes, the project is bound.

Thanks. I’ll reach out for some additional details.