Jenkins Git Fetch sometimes hangs

0
No votes yet
Your rating: None

Sometimes when job build is started it hangs and just first line of log is shown. You have to manually abort the build and run again.

This happened on Windows. Here is solution which worked for me (although I don't know actual cause of problem): Jenkins called
git.exe
from bin directory (the actual executable run was
bin/git.exe
). If I changed the called program to
cmd/git.exe
everything started to work fine, no more hangs.

Source: http://blog.cgdecker.com/…dson-on.html

Keywords: Git, Jenkins, Windows