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

It takes aeons to delete large workspace on slow disks


      I've several directories (say, a,b,c,d and e on the top level. They're quite capacious inside with many nested levels. I need to delete all but two.
      I set exclude to "a" and "c" and the cleaning process takes very much time, rm -rf works much faster, so i assume it's not a general performance issue.

      I don't want to look what the algorithm is, but maybe it's not optimal if it tries to check any pathname. On the other hand maybe i should write something like a/** and c/**?

            olivergondza Oliver Gond┼ża
            aikipooh Yury Pukhalsky
            1 Vote for this issue
            5 Start watching this issue