Remove workspace contents based on the result of the build.
Allows the Pipeline to not clean the workspace contents if the build was unstable or failed and needs the contents of the workspace to investigate the failure.
Choices include:
- Success: If enabled, the workspace is cleaned on successful builds. Enabled by default.
- Unstable: If enabled, the workspace is cleaned on unstable builds. Enabled by default.
- Failure: If enabled, the workspace is cleaned on failed builds. Enabled by default.
- Not built: If enabled, the workspace is cleaned on not built builds. Not Built needs more clarification! Enabled by default.
- Aborted: If enabled, the workspace is cleaned on aborted builds. When Aborted needs more clarification Enabled by default.