SonarQube Runner
  1. SonarQube Runner
  2. SONARUNNER-40

Delete the Sonar working/temporary directory before starting analysis

    Details

    • Type: Improvement Improvement
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.1
    • Labels:
      None
    • Number of attachments :
      0

      Description

      This feature is useful to make sure that the working directory does not contain existing reports before starting the analysis.

        Issue Links

          Activity

          Hide
          Fabrice Bellingard added a comment -

          This ticket is postponed as the use case could not be covered for multi-module projects. For instance, with the C# plugins, the multi-module structure is defined by Sonar through the SLN file at a later stage: the Sonar Runner has no knowledge of this, and thus can not clean the working directories of all the modules.

          Show
          Fabrice Bellingard added a comment - This ticket is postponed as the use case could not be covered for multi-module projects. For instance, with the C# plugins, the multi-module structure is defined by Sonar through the SLN file at a later stage: the Sonar Runner has no knowledge of this, and thus can not clean the working directories of all the modules.
          Hide
          Fabrice Bellingard added a comment -

          Same need on the Ant task side. Discussed about it with Simon, and it turns out that it would probably be best that Sonar itself cleans the working directory when the batch starts and when the project structure is defined.

          Show
          Fabrice Bellingard added a comment - Same need on the Ant task side. Discussed about it with Simon, and it turns out that it would probably be best that Sonar itself cleans the working directory when the batch starts and when the project structure is defined.
          Hide
          Fabrice Bellingard added a comment -

          Successfully tested.

          Show
          Fabrice Bellingard added a comment - Successfully tested.
          Hide
          Julien HENRY added a comment -

          No need for IT.

          Show
          Julien HENRY added a comment - No need for IT.

            People

            • Assignee:
              Julien HENRY
              Reporter:
              Fabrice Bellingard
            • Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: