Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 8.7
-
Component/s: Compute Engine, Scanner
-
Labels:
-
Edition:Community
-
Production Notes:None
Description
Use case
- Use a Maven project, and set the property sonar.organisation to any value, for instance 'ORG' (This property can be there most probably because the project is also analyzed on SonarCloud)
- Execute the analysis
It will fail with :
[ERROR] Failed to execute goal org.sonarsource.scanner.maven:sonar-maven-plugin:3.7.0.1746:sonar (default-cli) on project MY_PROJECT: Failed to load the default quality profiles: No organization with key 'ORG' -> [Help 1]
Idea to fix
Either it's possible to ignore sonar.organization directly in the scanner
Either it should be done in compute engine