Hudson Git 插件在 Windows 上不起作用 [英] Hudson Git Plugin not working on windows
问题描述
我安装了带有 OpenSSH 选项的 msysgit.在 Git bash 中,我可以运行 ssh-agent,它管理我的 ssh 密钥的密码.Hudson Git 插件可以使用 ssh-agent 吗?目前,它在尝试克隆时挂起,无疑是在等待输入密码.
I have msysgit installed with OpenSSH option. In Git bash, I can run ssh-agent, and it manages the passphrase for my ssh key. Is it possible for the Hudson Git plugin to use ssh-agent? Currently, it hangs when trying to clone, no doubt waiting for the passphrase to be entered.
谢谢!
推荐答案
如 Windows 上 Hudson + Git + Gitosis 的问题",您需要确保 Hudson 作业首先设置了 %HOME%
环境变量.
该值必须引用您可以找到的目录:
As mentioned in "Problem with Hudson + Git + Gitosis on windows", you need to make sure the Hudson job does set first a %HOME%
environment variable.
That value must refer to the directory where you can find:
.ssh
id_rsa # private key
id_rsa.pub # public key
这篇关于Hudson Git 插件在 Windows 上不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!