Wrong Project Name and Key Mismatch

The SonarSource Project and key are mismatched. This means that when I navigate to SonarCloud[Redacted Project Key] the name in the upper left hand corner is different: [Redacted Organization]> [Redacted different Project Name] > QA.

Also, two of my projects are missing from the dash board.

Template for a good new topic, formatted with Markdown:

  • ALM used: Azure DevOps
  • CI system used: Azure DevOps
  • Scanner command used when applicable: RUN dotnet sonarscanner end /d:sonar.login="${SONAR_TOKEN}"
  • Languages of the repository: C#
  • Error observed: The SonarSource Project and key are mismatched.
  • Steps to reproduce: See above
  • Potential workaround: None

I passed the Devops project name via YML to docker, and then used that as the Sonar project name. Here is what is wrong with that. The Sonar Project name is the Azure Devops repo name. So, noting that the Azure Devops and Sonar project names are not the same. Azure Devops Repo => Sonar Project.

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.