ジェンキンスで git リポジトリのクローンを作成できませんでした。インストールされている git バージョンは 1.7.10 です。また、ユーザー ディレクトリに ssh キーを設定します。同じ構成を使用して、コマンド ラインからも git bash でも git のクローンを作成できました。
しかし、ジェンキンスの「ウィンドウバッチコマンドの実行」から同じコマンドを試したところ、ジョブはエラーで失敗しました:fatal: The remote end hung up unexpectedly
C:\JenkinsSlave\workspace\ClonePath>git clone git@giturl.git
Cloning into 'gitrepo'...
fatal: The remote end hung up unexpectedly
Build step 'Execute Windows batch command' marked build as failure
Notifying upstream projects of job completion
Finished: FAILURE