Uploaded image for project: 'SonarQube Eclipse'
  1. SonarQube Eclipse
  2. SONARCLIPS-224

Allow to choose quality profile when running a local analysis

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0
    • Fix Version/s: 3.1
    • Component/s: None
    • Labels:
      None

      Description

      I see two use cases for this feature:
      1) When I start working on a new project, it takes sometimes a few days before the Hudson Job + Sonar analysis is ready. Waiting for that it would be good to allow running a local analysis by selecting a quality profile from remote Sonar server. Note that the "associate to sonar" feature should be changed to allow running analysis even when the project key is not found on server.

      2) When I want to test a new quality profile, or check what would be the violations with another quality profile, it could be interesting to be able to run local analysis using a different profile than the one associated to the project in Sonar server.

      When associating a project with a sonar server and the key is not found, remote analysis should be disabled and only local analysis should be proposed, with a manual choice of the quality profile.

        Issue Links

          Activity

          Hide
          godin OLD - Evgeny Mandrikov added a comment -

          Hi Julien,
          Just to let you know that we thought about this valuable feature. And it definitely would be implemented one day.

          Show
          godin OLD - Evgeny Mandrikov added a comment - Hi Julien, Just to let you know that we thought about this valuable feature. And it definitely would be implemented one day.
          Hide
          henryju OLD - Julien HENRY added a comment -

          Good to hear. Thanks for feedback Evgeny.

          Show
          henryju OLD - Julien HENRY added a comment - Good to hear. Thanks for feedback Evgeny.
          Hide
          henryju OLD - Julien HENRY added a comment -

          With SONARIDE-348 it is now possible to pass any parameter to Sonar local analysis so you can pass -Dsonar.profile=XXXX

          Show
          henryju OLD - Julien HENRY added a comment - With SONARIDE-348 it is now possible to pass any parameter to Sonar local analysis so you can pass -Dsonar.profile=XXXX
          Hide
          fabemn OLD - Fabrice Bellingard added a comment -

          Manually tested.

          Show
          fabemn OLD - Fabrice Bellingard added a comment - Manually tested.

            People

            • Assignee:
              henryju OLD - Julien HENRY
              Reporter:
              henryju OLD - Julien HENRY
            • Votes:
              3 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: