Jenkins could not run git

前端 未结 15 1272
臣服心动
臣服心动 2020-12-29 01:22

I\'ve installed Jenkins on my mac (osx lion). But I couldn\'t get it work. This is the stacktrace I\'ve got:

Started by user anonymous

Checkout:workspace /          


        
15条回答
  •  野趣味
    野趣味 (楼主)
    2020-12-29 02:27

    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.

提交回复
热议问题