-
Bug
-
Resolution: Won't Fix
-
Major
-
None
When using GIT SCM the checkout of sources tries to delete root workspace directory. It can be "/usr/share/path-to-app" in my case. Jenkins user is not allowed to delete this directory. So build fails.
Can we somehow don't remove the root workspace directory?
Have not seen such problem with Subversion SCM.
- is related to
-
JENKINS-22795 git plugin cleans workspace on initial clone
-
- Open
-
According to http://www.kernel.org/pub/software/scm/git/docs/git-clone.html, "Cloning into an existing directory is only allowed if the directory is empty." so this doesn't seem to be a requirement to delete the workspace directory, just to remove everything it contains