TS:gitlab-ci运行作业报错fatal: git fetch-pack: expected shallow list,fatal: The remote end hung up unexpectedly
-2023.5.10(已解决)
1、故障现象
自己在使用gitlab-ci跑job时,之前都没错的,但是后面报错了……
fatal: git fetch-pack: expected shallow list
fatal: The remote end hung up unexpectedly
2、解决办法
解决方法,修改gitlab的cicd配置,如下图所示:
这里设置为git clone
后,保存配置。
- 测试
此时,就可以正常运行作业了。
参考链接
http://blog.sway.com.cn/?p=878
接
http://blog.sway.com.cn/?p=878
[外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上传(img-zCicsUmn-1684397848169)(https://bucket-hg.oss-cn-shanghai.aliyuncs.com/img/image-20230510202813303.png)]