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

Display project and organization keys in the analysis logs

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 6.3
    • Component/s: Scanner
    • Labels:

      Description

      When one runs a SQ analysis on a project, nothing clearly identifies the project in the logs - except if you look at the line ANALYSIS SUCCESSFUL, you can browse ... at the end of the logs.

      Now that we are adding support for organization, the project key is going to not be enough to identify precisely the project. The sonar.organization information is highly wanted. For SonarQube.com case, having this information in the Travis CI logs would help a lot to debug some configuration issues (like you're not pointing to the right org, or there's no org with the given key).

      As a user, I therefore expect to see something like this in the logs:

      ...
      Project key      : org.sonarsource.sonarqube:sonarqube
      Organization key : sonarsource
      ...
      

      If no organization key is provided, I expect to not see the "Organization key" line - in order to not disturb on prem users who don't use this feature.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                duarte.meneses Duarte Meneses
                Reporter:
                fabrice.bellingard Fabrice Bellingard
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Due:
                  Created:
                  Updated:
                  Resolved: