SonarQube Runner
  1. SonarQube Runner
  2. SONARUNNER-55

Change location of working directory when running projectless task

    Details

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

      Description

      When executing a task outside of a project directory the working directory default to <current dir>/.sonar and because of SONARPLUGINS-1233 this directory will be first deleted.
      This is an issue when running a task from user home directory because ~/.sonar is also used to store other things like cache so the folder should not be deleted.
      Proposed solution is that the default working directory be created in temporary folder instead.

        Issue Links

          Activity

          Hide
          Fabrice Bellingard added a comment -

          Tested.

          Show
          Fabrice Bellingard added a comment - Tested.

            People

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

              Dates

              • Created:
                Updated:
                Resolved: