当我从Jenkins运行c:\ git \ bin \ git.exe clone https://username:password@repo-URL时,它会失败并显示以下消息:
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
当我从命令行使用相同的行时,它工作正常。 结果:
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.
这是什么问题?
使用: 詹金斯1.618 Git版本2.7.0
更新:今天早上我再次运行Build,它运行正常,没有我调整任何东西。我猜测一些东西已经在我无法控制之外,就像一个问题,使用Source Control Repository或其他东西。真的有点不满意,因为我还不知道罪魁祸首。