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

Workspace not deleted if empty include pattern specified.

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open (View Workflow)
    • Priority: Minor
    • Resolution: Unresolved
    • Component/s: ws-cleanup-plugin
    • Labels:
      None
    • Environment:
      Plugin v0.28
    • Similar Issues:

      Description

      After an hour of troubleshooting, I learned the hard way that a workspace will not be deleted if "Delete workspace before build starts" is checked and a "Pattern for files to be deleted" is added and set to "Include" but no actual pattern was specified.

      This subtlety can easily cause a bad user experience and I'd like to suggest that if a blank/unconfigured "Pattern for files to be deleted" is specified, the pattern should be ignored.

      I've attached a crude screenshot of the configuration cause the unexpected side-effect where my workspace would not get deleted.

        Attachments

          Activity

          There are no comments yet on this issue.

            People

            Assignee:
            vjuranek vjuranek
            Reporter:
            marqo09 Kyle Hanslovan
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: