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

This issue is archived. You can view it, but you can't modify it. Learn more

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

            Assignee:
            Tim Jacomb
            Reporter:
            Hiten Prajapati
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: