How can I cleanup the workspace in Jenkins? I am using AccuRev as version control tool.
I created freestyle projects in Jenkins.
You will need to install this plugin before the options mentioned above will appear
Workspace Cleanup Plugin
This plugin add the check box to all job configs to allow you to delete the whole workspace before any steps (inc source control) are run
This is useful to make sure you always start from a known point to guarantee how you build will run