Jenkins can not clone Git repository over Git/SSH on Windows

后端 未结 8 1073
走了就别回头了
走了就别回头了 2020-12-13 20:06

I have successfully cloned Git repository in Jenkins over Git/SSH on Windows 2008 32-bit. When I tried to do the same on Windows 2008 64-bit, Console Output page ge

8条回答
  •  抹茶落季
    2020-12-13 20:41

    Another issue i faced with was, ssh.exe was not looking at the %userprofile%/.ssh folder for the key files. Instead it was looking to the folder C:\Program Files (x86)\Git\.ssh which was empty and which causes a hang due to ssh authentication prompt on the machine where git repo located.

    We just copied the key files under %userprofile%/.ssh to C:\Program Files (x86)\Git\.ssh and the problem is resolved.

提交回复
热议问题