在发生10分钟错误后建立jenkins项目超时 [英] On building jenkins project timeout after 10 minute error happens
本文介绍了在发生10分钟错误后建立jenkins项目超时的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我使用jenkins来构建我的git远程项目。问题是日志说'10分钟后超时'。接收对象开始,并在56%的情况下发生。
I am using jenkins to build my git remote project. The problem is log says 'timeout after 10 min'. Receiving object starts and at 56% something happens.
推荐答案
编辑您的作业配置,并在git插件部分:
Edit your job configuration, and under git plugin section:
- 点击添加
- 点击高级克隆行为在超时(以分钟为单位)进行克隆和读取操作中设置所需的分钟数
- Click "Add"
- Click "Advanced clone behaviours"
- Set the number of minutes you want in "Timeout (in minutes) for clone and fetch operation"
我建议检查浅度克隆选项。它仅提取存储库的最后一个状态(没有历史记录),因此速度更快。
I recommend checking also the "shallow clone" option. It fetches only the last state of the repository (without the history), so it's much faster.
这篇关于在发生10分钟错误后建立jenkins项目超时的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文