Jenkins升级后,项目拉取代码失败,报:returned status code 128

问题
Jenkins升级后,拉取代码失败:

Caused by: hudson.plugins.git.GitException: Command "git fetch --tags --progress http://10.200.0.3/jr/kace/koca-cf.git +refs/heads/*:refs/remotes/origin/*" returned status code 128:
stdout: 
stderr: warning: no common commits
remote: Enumerating objects: 123605, done.        
remote: Counting objects:   0% (1/123605)           
remote: Counting objects:   1% (1237/123605)           
remote: Counting objects:   2% (2473/123605)           
remote: Counting objects:   3% (3709/123605)           
remote: Counting objects:   4% (4945/123605)           
remote: Counting objects:   5% (6181/123605)           
remote: Counting objects:   6% (7417/123605)           
remote: Counting objects:   7% (8653/123605)           
remote: Counting objects:   8% (9889/123605)           
remote: Counting objects:   9% (11125/123605)           
remote: Counting objects:  10% (12361/123605)           
remote: Counting objects:  11% (13597/123605)           
remote: Counting objects:  12% (14833/123605)           
remote: Counting objects:  13% (16069/123605)           
remote: Counting objects:  14% (17305/123605)           
remote: Counting objects:  15% (18541/123605)           
remote: Counting objects:  16% (19777/123605)           
remote: Counting objects:  17% (21013/123605)           
remote: Counting objects:  18% (22249/123605)           
remote: Counting objects:  19% (23485/123605)           
remote: Counting objects:  20% (24721/123605)           
remote: Counting objects:  21% (25958/123605)           
remote: Counting objects:  22% (27194/123605)           
remote: Counting objects:  23% (28430/123605)           
remote: Counting objects:  24% (29666/123605)           
remote: Counting objects:  25% (30902/123605)           
remote: Counting objects:  26% (32138/123605)           
remote: Counting objects:  27% (33374/123605)           
remote: Counting objects:  28% (34610/123605)           
remote: Counting objects:  29% (35846/123605)           
remote: Counting objects:  30% (37082/123605)           
remote: Counting objects:  31% (38318/123605)           
remote: Counting objects:  32% (39554/123605)           
remote: Counting objects:  33% (40790/123605)           
remote: Counting objects:  34% (42026/123605)           
remote: Counting objects:  35% (43262/123605)           
remote: Counting objects:  36% (44498/123605)           
remote: Counting objects:  37% (45734/123605)           
remote: Counting objects:  38% (46970/123605)           
remote: Counting objects:  39% (48206/123605)           
remote: Counting objects:  40% (49442/123605) 

原因
升级前后cache目录git-fetch缓存不一致造成的,去容器中删掉cache目录就行了如下,这个目录和workspace同级
解决办法
在这里插入图片描述

可能其他原因

  • 查询磁盘空间
  • 权限问题

参考文章:https://blog.csdn.net/u012440725/article/details/123041983

  • 0
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值