Jenkins Workspace Cleanup plugin is a widely used plugin with over 200k installs per month in the past 12 months.
The thing that bothers me is that its "deferred wipeout" functionality is not documented properly. I can only suspect that "deferred" means asynchronous, so that it doesn't block the node/executor, but I'm guessing right now.
Also if it's actually asynchronous and another job is scheduled on the same node and the same workspace, do we have any guarantees that the workspace is properly cleaned up before the new job starts?
The documentation only says:
When deferred wipeout is disabled the old implementation of filesystem content deletion is used. (...)
For developers of (cloud, for instance) it might be useful to be sure deferred wipeout is never selected as a cleanup method.
What does this mean? What are the scenarios in which deferred wipeout should never be used?
Can anyone explain what is the real effect of having this option enabled/disabled, potentially with some use cases?