![解决jenkins git timeout的问题 解决jenkins git timeout的问题](https://image.shishitao.com:8440/aHR0cHM6Ly9ia3FzaW1nLmlrYWZhbi5jb20vdXBsb2FkL2NoYXRncHQtcy5wbmc%2FIQ%3D%3D.png?!?w=700&webp=1)
- 进入项目配置(project configure)
- "源码管理"选项卡中,找到
Additional Behaviours
点击旁边的 addimage.png - 点击
advanced clone behavious
- 在
Timeout (in minutes) for clone and fetch operations
一栏中填入你需要的超时时间(比如 20)。
最终保存,以上操作即完成了对git fetch超时时间的设置。
网上历史遗留博文害人不浅,望自思考,勤探索。
链接:https://www.jianshu.com/p/264772bb9264