SonarQube Eclipse
  1. SonarQube Eclipse
  2. SONARIDE-224

Allow to choose quality profile when running a local analysis

    Details

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

      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
          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
          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
          Julien HENRY added a comment -

          Good to hear. Thanks for feedback Evgeny.

          Show
          Julien HENRY added a comment - Good to hear. Thanks for feedback Evgeny.
          Hide
          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
          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
          Fabrice Bellingard added a comment -

          Manually tested.

          Show
          Fabrice Bellingard added a comment - Manually tested.

            People

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

              Dates

              • Created:
                Updated:
                Resolved: