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

Pipeline Job-- deletedir() delete only current directory but @script and @tmp dir still there in workspace.

    Details

    • Similar Issues:

      Description

      Directories with an ampersand (like @tmp and @script, @libs) are not removed when using 'deletedir()' in pipeline stage.

      They are never cleaned up, even by the built in build discarders,
      On our instances we have 2172 folders with @libs (which is a copy of the shared library for the build)
      Which is taking up 7GB of space

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                timja Tim Jacomb
                Reporter:
                hiten_prajapati Hiten Prajapati
              • Votes:
                67 Vote for this issue
                Watchers:
                83 Start watching this issue

                Dates

                • Created:
                  Updated: