You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

Jenkins多分支流水线git fetch --tags耗时过长问题求助

Jenkins多分支流水线Git拉取标签耗时过长问题求助
  • Jenkins多分支流水线配置:已启用「Fetch tags」选项(配置界面包含标签拉取相关设置)
  • 当前使用Git版本:git version 2.28.0.windows.1

流水线执行时,以下命令耗时极长:

git fetch --tags --force --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10

由于我的流水线中使用了git describe --tags命令,必须开启「Fetch tags」选项,否则该命令会执行失败。有没有人遇到过类似问题?这是否与当前使用的Git版本有关?

内容的提问来源于stack exchange,提问作者mair

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.07.22 10:52:04