2011-08-18 100 views
1

當我從Git倉庫中檢出代碼它給像錯誤:混帳+詹金斯獲取問題

Started by user anonymous 
Checkout:workspace//Users/shriram/.jenkins/jobs/github1/workspace - [email protected] 
Using strategy: Default 
Last Built Revision: Revision b0a93e1344ac7ce65fbfc34fb2d3b5a8b0a72e05 (origin/master) 
Checkout:workspace//Users/shriram/.jenkins/jobs/github1/workspace - [email protected] 
Fetching changes from 1 remote Git repository 
Fetching upstream changes from ssh:///[email protected] : 22/~/jengittest.git 
ERROR: Problem fetching from origin/origin - could be unavailable. Continuing anyway 
ERROR: (Underlying report) : Error performing command: /opt/local/bin/git fetch -t ssh:///[email protected] : 22/~/jengittest.git +refs/heads/*:refs/remotes/origin/* 
Command "/opt/local/bin/git fetch -t ssh:///[email protected] : 22/~/jengittest.git +refs/heads/*:refs/remotes/origin/*" returned status code 128: Host key verification failed. 
fatal: The remote end hung up unexpectedly 

回答

1

錯誤消息的解決方案提示:爲17.209.10.99主機密鑰是未知或無效。

從您的.ssh/known_hosts文件中刪除該主機所在的行。之後,使用ssh [email protected]手動連接到該主機並再次接受主機密鑰。