-
New Feature
-
Resolution: Unresolved
-
Minor
-
None
The WS cleanup plugin is really great for removing everything except the .git directories from the workspace. However, it leaves around a ton of empty directories when this is done.
For example, we use the Exclusion pattern:
**/.git/**
to do this.
It would be very useful if there was an option to recursively (going up) remove any directories emptied by the WS cleanup plugin. (ie if a directory was empty previously, it would not remove it).
[JENKINS-19334] WS Cleanup: ability to remove directories emptied by WS cleanup
Description |
Original:
The WS cleanup plugin is really great for removing everything except the .git directories from the workspace. However, it leaves around a ton of empty directories when this is done. For example, we use the Exclusion pattern: **/.git/** to do this. It would be very useful if there was an option to recursively (going up) remove any directories emptied by the WS cleanup plugin. (ie if a directory was empty previously, it would not remove it). |
New:
The WS cleanup plugin is really great for removing everything except the .git directories from the workspace. However, it leaves around a ton of empty directories when this is done. For example, we use the Exclusion pattern: \*\*/.git/\*\* to do this. It would be very useful if there was an option to recursively (going up) remove any directories emptied by the WS cleanup plugin. (ie if a directory was empty previously, it would not remove it). |
Assignee | Original: vjuranek [ vjuranek ] | New: Lucie Votypkova [ lvotypkova ] |
Workflow | Original: JNJira [ 150782 ] | New: JNJira + In-Review [ 177771 ] |
Assignee | Original: Lucie Votypkova [ lvotypkova ] | New: Oliver Gondža [ olivergondza ] |