当前位置:   article > 正文

Jenkins升级后,项目拉取代码失败,报:returned status code 128_jenkis 拉代码 卡住git fetch --tags --progres

jenkis 拉代码 卡住git fetch --tags --progres

问题
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) 

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46

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

可能其他原因

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

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

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/菜鸟追梦旅行/article/detail/578220
推荐阅读
相关标签
  

闽ICP备14008679号