Cloning the remote Git repository ssh://email@example.com:29418/.
ERROR: Failed to clean the workspace Java.io.IOException: Unable to delete ‘C:Users\GitRepositorysreponame’. 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
Source: Stack Overflow