私はHudsonサーバとgitリポジトリを持っていて、どちらも私たちのサーバ(ubuntuマシン)で動作しています。
私はハドソンと私のアプリを構築しようとするたびに、彼はhudsonは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
follwing私はここで何をしないのですと言いますか? アイデア?事前のおかげで
EDIT
[OK]を、それが動作しました!
最初に、私は自分のハドソンユーザー(sudo su - -s /bin/bash tomcat6
)とログインしています。そして、私は自分の.sshフォルダを削除しました。この後
は、私はちょうどthisリンクをたどって、今パスワード
なくsshログインをした、ハドソンは、あなたがハドソンとgitのサーバー間のSSHの関係を作成する必要があるパスワード
を働いていた私は「tomcat6」にログインしてきました(須藤su - -s/bin/bash tomcat6)user、これはhudsonを実行するユーザーです。エラーは次のようになります:https://gist.github.com/1633627。私はまだssh経由でログインできません。 'sudo su - -s/bin/bash tomcat6'の後に 'ssh 127.0.0.1'を試しましたが、まだsshがパスワードを要求していて、ログインできません。 –
hudsonユーザーの下で実行されます。 –
@GermanAttanasioRuizなぜパスフレーズを空にする必要がありますか?パスフレーズでは動作しませんか? –