Skip to content

Cannot get Exclude option to work #4

@FStapenhorst

Description

@FStapenhorst

Hi,

I have the following configuration:

  • Jenkins v2.166 running on Windows
  • ws-cleanup Plug-In v 0.37
  • In Build-Environment I enabled: Delete workspace before build starts
  • Patterns for files to be deleted: Exclude: *\drivve-binaries*
  • Apply pattern also on directories: true
  • No Check parameter, no External Deletion Command and Disable deferred wipeout=false

My workspace has this folder structure:
%workspace%\source\folder1
%workspace%\source\folder2
%workspace%\source\drivve-binaries
%workspace%\source...

What I want to achieve is that all folders in %workspace%\source are deleted except the drivve-binaries folder. The result is that all folders are deleted.

What am I doing wrong?

Note:
I also tried this exclude pattern: /drivve-binaries/ with no avail.

Thank you for your support!

Ferdinand

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions