我有一臺Hudson服務器和一個git存儲庫,它們都運行在我們的服務器(一臺ubuntu機器)上。
每當我嘗試建立我的應用程序哈德森,他說follwing哈德森無法從git存儲庫中獲取
Iniciado pelo usuário anonymous
Checkout:workspace//usr/share/tomcat6/.hudson/jobs/ECF/workspace - [email protected]
Using strategy: Default
Checkout:workspace//usr/share/tomcat6/.hudson/jobs/ECF/workspace - [email protected]
Fetching changes from the remote Git repository
Fetching upstream changes from ssh://[email protected]/git/germantech.git
ERROR: Problem fetching from servidor/servidor - could be unavailable. Continuing anyway
ERROR: (Underlying report) : Error performing command: git fetch -t ssh://[email protected]/git/germantech.git +refs/heads/*:refs/remotes/origin/*
Command "git fetch -t ssh://[email protected]/git/germantech.git +refs/heads/*:refs/remotes/origin/*" returned status code 128: Host key verification failed.
fatal: The remote end hung up unexpectedly
ERROR: Could not fetch from any repository
FATAL: Could not fetch from any repository
hudson.plugins.git.GitException: Could not fetch from any repository
缺少什麼我在這裏? 想法?在此先感謝
編輯
好,使工作!
首先,我已經用我的哈德森用戶(sudo su - -s /bin/bash tomcat6
)登錄,然後,我刪除了我的.ssh文件夾。
在此之後,我只是跟着this鏈接,沒有密碼
取得了ssh登錄現在,哈德森可以做一個取指令,而不需要especify密碼
我已經登錄到「的tomcat6」(須藤su - -s/bin/bash tomcat6)用戶,這是運行hudson的用戶。現在的錯誤是:https://gist.github.com/1633627。我仍然無法通過SSH登錄。在'sudo su - -s/bin/bash tomcat6'之後,我嘗試了'ssh 127.0.0.1',但ssh仍在問我密碼,並且不讓我登錄。我在這裏丟失了什麼? –
hudson在hudson用戶下運行 –
@GermanAttanasioRuiz爲什麼我必須保持密碼空?它可以不使用密碼嗎? –