-
Bug
-
Resolution: Fixed
-
Minor
-
None
When using Git as the SCM, if you set the "Local subdirectory for repo" option, the "Wipe out workspace before build" option no longer works.
My guess is that it is using git clean on the subdirectory, but that ignores the rest of the workspace.
The workaround I'm currently using is to delete the workspace in my build script.
- duplicates
-
JENKINS-19994 Unable to delete windows workspace due to busy git pack file
-
- Closed
-
Wipe workspace with a subdirectory succeeds with git plugin 2.0 and git client plugin 1.4.6 using the command line implementation.
Wipe workspace with a subdirectory fails with git plugin 2.0 and git client plugin 1.4.6 using the jgit implementation on Windows because the jgit plugin leaves one or more pack files open so that they cannot be deleted.