SonarScanner CLI error: check sonar.projectKey and sonar.organization properties, SONAR_TOKEN variable

Viewed 42

When using SonarScanner, following the suggested manual recipe for classic .NET and MSBuild - so all required properties and variable are passed to the CLI tool - I find the following error at the bottom lines:

ERROR: Project not found. Please check the 'sonar.projectKey' and 'sonar.organization' properties, the 'SONAR_TOKEN' environment variable, or contact the project administrator.

What's wrong? How to resolve this?

0 Answers
Related