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

Document the cleanup externalDelete command parameter

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Minor Minor
    • ws-cleanup-plugin
    • 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:

       

      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?

            Unassigned Unassigned
            cjvolzka Charles
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: