エラー:Jenkinsのgit pluginがローカルマシンからのリポジトリのクローン作成に失敗しました。エラーコード128
chmod 777
レポフォルダ(フォルダ含む.gitディレクトリ)chowned
にjenkins:jenkins
にレポフォルダ に:私は次のことを試してみました
Failed to connect to repository : Command "/usr/bin/git ls-remote -h file:///home/myuser/path/to/project HEAD" returned status code 128:
stdout:
stderr: fatal: 'home/myuser/path/to/project' does not appear to be a git repository
fatal: The remote end hung up unexpectedly
上記のコマンドを実行すると、cmdに/usr/bin/git ls-remote -h file:///home/myuser/path/to/project HEAD
というブランチが表示されます。
私の質問は以下のとおりです。
- それは
git clone ...
でなければならない時に、なぜgit ls-remote -h ...
コマンドと呼ばれていますか?地元のレポから
私の環境でコードを取得するためにジェンキンスgitのプラグインを設定する方法
RHEL 5.9
ジェンキンス1.519サービス(なしWebコンテナ)
Git pluginとしてインストール
OSXを使用しています。 – tripleee
私は同意します...選択した回答をご覧ください。 – Vikram