jenkins deletes existing work space ,when trying to clone new git repo from git scm plugin

Viewed 1006

I see in a Jenkins job log:

Cloning the remote Git repository ssh://username@systemname.eu.company.com:29418/<repo-name>.
ERROR: Failed to clean the workspace Java.io.IOException: Unable to delete ‘C:\Users\<usersname>\GitRepositorys\reponame’. 
  Tried 3 times (of a maximum of 3) waiting 0.1 sec between attempts.
Error cloning remote repo ‘origin’ Hudson.plugins.git.GitException:
  Failed to delete workspace

This above error we had got, but it had already deleted the majority of files and only files which where active was not deleted.
And no delete workspace or clean up command was active in jenkins job configuration.

1 Answers
Related