Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-8211

Cleaning workspace no longer deletes Maven repository

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Component/s: perforce-plugin
    • Labels:
      None
    • Environment:
      Windows XP 64-bit, Hudson 1.386, Maven2 plugin 1.386, perforce plugin 1.1.12
    • Similar Issues:

      Description

      The perforce plugin has a checkbox "Clean Workspace Before Each Build" to delete the workspace for a project. The maven2 plugin has an to "Use private Maven repository" which stores the maven2 .repository directory under the workspace.

      Previously, checking the Clean Workspace option deleted everything in the workspace, including the .repository, which is useful to verify that transient maven dependencies are still available. An update to Hudson has altered the behavior so that Clean Workspace leaves the .repository directory in place. This appears related to the fix for http://issues.jenkins-ci.org/browse/JENKINS-7182. The fix should have included an option to specify whether cleaning the workspace includes cleaning the private maven repository.

        Attachments

          Activity

          Hide
          rpetti Rob Petti added a comment -

          I foresee there being several hundred more options included in the plugin before everyone is satisfied.

          This will have to wait until the debacle with Oracle is sorted out, since I'm not sure where the source code for the plugin is going to live just yet.

          Show
          rpetti Rob Petti added a comment - I foresee there being several hundred more options included in the plugin before everyone is satisfied. This will have to wait until the debacle with Oracle is sorted out, since I'm not sure where the source code for the plugin is going to live just yet.
          Hide
          rpetti Rob Petti added a comment -

          Option has been added by hagzag.

          Show
          rpetti Rob Petti added a comment - Option has been added by hagzag.

            People

            • Assignee:
              rpetti Rob Petti
              Reporter:
              dwalling dwalling
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: