哈德森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.
谢谢!
Thanks!
推荐答案
正如哈德逊问题+ Git + Gitosis on windows,您需要确保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
这篇关于哈德森Git插件不能在windows上工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!