在Windows上使用Hudson的Git插件克隆/获取存储库的问题
在任何人为此向我射击之前 – 我已经检查了每个合适的线程,但仍未找到解决我问题的方法.
我在Windows服务器上安装了gud插件的Hudson(不是我的选择),Hudson作为服务运行. Git / bin就在路上.但是我无法克隆存储库.这是控制台输出的缩短显示: Started by user anonymous Checkout:workspace / C:.hudsonjobssdfworkspace - hudson.remoting.LocalChannel@65394b Last Built Revision: Revision 74200b32314231a5efdadd87bf36b42ec145c720 (origin/master) Checkout:workspace / C:.hudsonjobssdfworkspace - hudson.remoting.LocalChannel@65394b Fetching changes from the remote Git repository Fetching upstream changes from ssh://git.mccannlondon.co.uk/git/mccann_admin [workspace] $"C:Program FilesGitbingit.exe" fetch -t ssh://git.mccannlondon.co.uk/git/mccann_admin +refs/heads/*:refs/remotes/origin/* The server's host key is not cached in the registry. You have no guarantee that the server is the computer you think it is. The server's rsa2 key fingerprint is: ssh-rsa 2048 f1:48:2a:0a:d9:18:cf:2e:f2:8c:b3:25:7f:34:d5:34 Connection abandoned. fatal: The remote end hung up unexpectedly ERROR: Problem fetching from origin / origin - could be unavailable. Continuing anyway 因此,我似乎需要对主机进行身份验证,但是当我将管理员设置为hudson服务的所有者时,我不确定为什么hudson以匿名用户的身份启动工作. 有人知道吗: > a)如何更改hudson的运行用户?要么 如果这是在道歉之前发布的,但我花了几个小时搜索周围,找不到任何东西. 谢谢 刘易斯 解决方法
这可能与问题
Git,Can’t clone repo on windows有关
从cletus开始的tutorial也很有帮助. 可以在this blog entry中找到对该问题的良好描述
Key Name: HKEY_USERS.DEFAULTSoftwareSimonTathamPuTTYSshHostKeys Class Name: NO CLASS Last Write Time: 23.01.2009 - 18:35 Value 0 Name: dss@22:bla_bla.com Type: REG_SZ Data: 0xb477b...
reg add HKEY_USERS.DEFAULTSoftwareSimonTathamPuTTYSshHostKeys /v dss@22:bla_bla.com /d 0xb477b...
(编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |