Git 詹金斯的克隆失败了。从命令行克隆工作
当我从Jenkins运行c:\git\bin\git.exe克隆时,它会失败,并显示以下消息:Git 詹金斯的克隆失败了。从命令行克隆工作,git,jenkins,Git,Jenkins,当我从Jenkins运行c:\git\bin\git.exe克隆时,它会失败,并显示以下消息: Cloning into '365Agile.Portal'... fatal: early EOF fatal: The remote end hung up unexpectedly fatal: index-pack failed error: RPC failed; result=56, HTTP code = 200 d:\Workspace
Cloning into '365Agile.Portal'...
fatal: early EOF
fatal: The remote end hung up unexpectedly
fatal: index-pack failed
error: RPC failed; result=56, HTTP code = 200
d:\Workspaces\Ranorex>exit 128
Build step 'Execute Windows batch command' marked build as failure
Finished: FAILURE
当我使用命令行中的同一行时,效果很好。
结果:
有什么问题吗
使用:
詹金斯1.618
Git版本2.7.0
更新:今天早上我再次运行了构建,它运行正常,没有任何改动。我猜在我的控制之外发生了一些事情,比如源代码管理存储库或其他方面的问题。真的有点不满意,因为我还不知道罪犯。同一台机器?您是否尝试过使用ssh进行克隆?你在运行Avast吗?命令行的工作是在詹金斯从机上完成的。Jenkins在另一台机器上运行。Jenkins版本,Git版本,Git插件版本?
Receiving objects: 100% (21540/21540), 76.16 MiB | 2.77 MiB/s, done.
Resolving deltas: 100% (4375/4375), done. Checking connectivity... done.
Checking out files: 100% (1233/1233), done.