Jenkins: Excluding Directories when Cleaning Workspace

For most projects, I recommend that nightly builds start with a completely clean workspace. However, there are certain cases where cleaning is not feasible - repos including large artifacts (e.g. specific toolchains) or numerous git-lfs artifacts. You can destroy bandwidth and increase build time by re-downloading these files for every build. Using jenkins, you can …