私はジェンキンを使用する初心者です。ジェンキンズがレポからフェッチする際に問題があります。
「リモートエンドが予期せずハングアップしました」というエラーが表示されます。フェンチ中のジェンキンエラー:リモートレポの起源のクローズエラー
08:26:19 Fetching upstream changes from [email protected]:myFork/myBranch.git
08:26:19 > git --version # timeout=10
08:26:19 using GIT_SSH to set credentials Jenkins user at gitlab
08:26:19 > git fetch --tags --progress [email protected]:myFork/myBranch.git +refs/heads/:refs/remotes/origin/
08:27:22 ERROR: Error cloning remote repo 'origin'
08:27:22 hudson.plugins.git.GitException: Command "git fetch --tags --progress [email protected]:myFork/myBranch.git +refs/heads/:refs/remotes/origin/" returned status code 128:
08:27:22 stdout:
08:27:22 stderr: ssh: connect to host my.gitrepo.net port 22: Connection timed out
08:27:22 fatal: The remote end hung up unexpectedly
私は多分遠隔が到達不能であることを考えたが、私は私のローカルマシンで
git ls-remote (our_repo.git)
を使用してみました、それは多分、それは問題ではありませんので動作します。 (私は思いますか?)
接続が正しいことを確認するために必要な構成はありますか?
正しいSSHのように。現在、私たちは公開SSHを設定しています。
あなたは(同じコマンドを試してみなければなりません私はジェンキンズがレポを複製しているスレーブマシンから – Jayan
私はもう一度それをチェックして、最後にフェッチが機能します。一部のマシンがメンテナンスのために停止したように見えるので、私たちのレポは取り出されませんでした。 – JuanLunaAtbp