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

Support for deleting workspace when leaving agent

XMLWordPrintable

    • Icon: New Feature New Feature
    • Resolution: Unresolved
    • Icon: Minor Minor
    • core
    • None

      It would be great with support for deleting the workspace when a job leaves an agent. In a setup with shared agents, the disk space for the workspaces tend to grow. One solution is for all jobs to have deleteDir() in their pipeline, but empirical real-world testing shows that users forget or don't care (or don't understand that they need to do this for every agent used in the build).

      This should most likely not be the default but either configurable or at least some sort of API support so that a plugin could add this behavior.

            Unassigned Unassigned
            ahammar Anders Hammar
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: