This plugin deletes the workspace before the build or when a build is finished and artifacts saved.
Option for deleting workspace after is in Post-build Actions section:
You can also specify pattern (using Ant syntax), which files should be deleted:
matches all .class files/dirs in a directory tree.
matches all files/dirs which start with an 'a', then two more characters and then ".java", in a directory called test.
matches everything in a directory tree.
matches all files/dirs which start with "XYZ" and where there is a parent directory called test (e.g. "abc/test/def/ghi/XYZ123").
Skip to end of metadata Go to start of metadata