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

Wipe out workspace does not remove parallel workspaces correctly

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • core
    • None
    • Jenkins 1.504 on Windows Vista
      and
      Jenkins 1.497 on SUSE Linux

      I have a job that allows parallel runs which frequently leads to a number of workspaces being creted.

      After running it a few times I have the following file structure:

      jenkins-home/jobs/job1/
      workspace
      workspace@2
      workspace@3
      workspace@4

      If I run "Wipe Out Workspace" it seems as if Jenkins chooses a random directory of the 4 to wipe out (possibly based on which one was used last). So sometimes it will remove the "workspace" directory, and leave the other 3 and sometimes it will remove one of the others (like workspace@2). It never seems to remove all of them though.

          [JENKINS-17098] Wipe out workspace does not remove parallel workspaces correctly

          evernat added a comment -

          Is it reproduced with a recent Jenkins version?

          evernat added a comment - Is it reproduced with a recent Jenkins version?

          Daniel Beck added a comment -

          This is how 'Wipe Out Workspace' works, it deletes the workspace that's shown on the UI, which is usually the one corresponding to the latest build.

          Daniel Beck added a comment - This is how 'Wipe Out Workspace' works, it deletes the workspace that's shown on the UI, which is usually the one corresponding to the latest build.

            Unassigned Unassigned
            patrik Patrik Johansson
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: