When using job hooks, if a setup before step fails, the workspace 'root' directory may be cleaned.
before
No workspace cleanup if a failure occurs in job setup before steps.