-
Improvement
-
Resolution: Unresolved
-
Minor
-
None
Documentation mentions the possibility of using "external commands" but doesn't say how to actually do it. The documented example parameters that can be passed into cleanWs() don't seem show it either.
Mentions:
- https://github.com/jenkinsci/ws-cleanup-plugin?tab=readme-ov-file#deferred-wipeout
- When the whole workspace is supposed to be deleted (no patterns, external commands, etc.)
- https://plugins.jenkins.io/ws-cleanup/
- When the whole workspace is supposed to be deleted (no patterns, external commands, etc.)
Looking through the code, I think the parameter is "externalDelete" (based on my reading of the code path) cleanWs() -> WsCleanup.java -> perform() -> RemoteCleaner cleaner =... <externalDelete> -> Cleanup(... <command=externalDelete> ...) -> cleaner.perform(workspace) -> <uses command that was passed through?>
If this is an intended feature, can the key and an example be added to the documentation? Otherwise, if it's not intended for external use, then can the documentation be updated to remove the "external commands" mentions?