-
Bug
-
Resolution: Duplicate
-
Major
-
None
-
Win7
Create a job with "Delete workspace before build" and some pattern for the files to delete (mine is the MSBuild output directory, for example).
The job will fail on the first build (and all subsequent ones) as the Workspace cannot be found.
This is likely to happen when copying or renaming Jenkins jobs that have a "delete workspace" pattern.
A workaround is to turn off "Delete workspace before build" until after the first build has run and the workspace has been created.
- duplicates
-
JENKINS-11998 Shouldn't prevent build from starting if WS doesn't exist and we're using a pattern
- Resolved