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.