Jenkins でプライベート bitbucket リポジトリのクローンを作成中にエラーが発生しました。ここからデバッグ手順に従いました:
https://wiki.jenkins-ci.org/display/JENKINS/Git+Plugin
- ssh キーの作成 デプロイ キーとして ssh キーを bitbucket に追加しました
- サーバー上のユーザーアカウントでそのsshキーを使用してそのレポを正常に複製しました
- キーと既知のホストを C:\Windows\SysWOW64\config\systemprofile.ssh にコピーしました
- Jenkins サービスがローカル システム アカウントで実行されていることを確認しました
- ビルドを開始してから -> エラー
私は何を間違っていますか?
ERROR: Error cloning remote repo 'origin' : Could not clone ssh:///git@bitbucket.org:myUsername/myRepo.git
hudson.plugins.git.GitException: Could not clone ssh:///git@bitbucket.org:myUsername/myRepo.git
Caused by: hudson.plugins.git.GitException: Command "git.exe clone --progress -o origin ssh:///git@bitbucket.org:myUsername/myRepo.git C:\Program Files (x86)\Jenkins\workspace\myProject" returned status code 128:
stdout: Cloning into 'C:\Program Files (x86)\Jenkins\workspace\myProject'...
stderr: ssh: connect to host port 22: Bad file number
fatal: The remote end hung up unexpectedly