Uploaded image for project: 'SonarQube'
  1. SonarQube
  2. SONAR-13312

Analysis is failing if the project contains the property "sonar.organization"

    XMLWordPrintable

    Details

    • 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

        Attachments

          Activity

            People

            Assignee:
            jacek.poreda Jacek Poreda
            Reporter:
            julien.lancelot Julien Lancelot
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Due:
              Created:
              Updated:
              Resolved: