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

Support dry run analyses on modules

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.6.1, 3.7
    • Component/s: None
    • Labels:
      None

      Description

      The '/batch_bootstrap/db?project=XXXXX' web service is currently not designed to return data for a module. For instance, currently, any property set on a module (like file exclusions for instance) won't be retrieved when analyzing that module independently (same for the profile that should be used). However, analyzing a module in dry run is mandatory for Sonar Eclipse local mode to run correctly.

      The dry run mode should be updated to work this way:

      • What's retrieved in the H2 DB is only related to the profiles and the rules
      • We should make sure that the batch correctly sets:
        • the properties on the module (see SONAR-4342)
        • the existing issues thanks to the "Issues" web service
      • The analysis will be done locally as if it is a new project

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              henryju OLD - Julien HENRY
              Reporter:
              fabemn OLD - Fabrice Bellingard
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: