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.

XMLWordPrintable

    • Jenkins 2.244

      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

            timja Tim Jacomb
            hiten_prajapati Hiten Prajapati
            Votes:
            67 Vote for this issue
            Watchers:
            91 Start watching this issue

              Created:
              Updated:
              Resolved: