jenkinsci/job-dsl-plugin — pull request #170 by daspilker (2014-03-13 09:48:22+00:00)
Title: Workspace Cleanup Plugin

The new DSL syntax looks like this:

```groovy
job {
wrappers {
preBuildCleanup {
includePattern(String pattern)
excludePattern(String pattern)
deleteDirectories(boolean deleteDirectories = true)
cleanupParameter(String parameter)
deleteCommand(String command)
}
}
}
```