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

Delete workspace before build starts - does not delete folders in workspace

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Critical Critical
    • ws-cleanup-plugin
    • None

      When "Disable deferred wipeout" is checked (either at job or at jenkins node level), workspace is not deleted properly.  It appears directories are NOT deleted, but files underneath are. 

          [JENKINS-65793] Delete workspace before build starts - does not delete folders in workspace

          Andre Crespo added a comment - - edited

          I have the same problem but only on freestyle jobs. Both set or not set deferred wipeout didn't delete the directories, just files inside all directories.

          This is not occuring on pipeline jobs when deleteDirs = true, as expected.

          I am using as a post build action in my jobs.

          Andre Crespo added a comment - - edited I have the same problem but only on freestyle jobs. Both set or not set deferred wipeout didn't delete the directories, just files inside all directories. This is not occuring on pipeline jobs when deleteDirs = true, as expected. I am using as a post build action in my jobs.

            olivergondza Oliver Gondža
            gmming Ming Ho
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: