10分钟后我的项目返回错误超时 [英] My project return error timeout after 10min

查看:94
本文介绍了10分钟后我的项目返回错误超时的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试通过jenkins构建git repo项目.但是每次詹金斯返回错误日志为"10分钟后我的项目返回错误".有没有办法解决这个问题或增加超时时间? 我的项目的大小约为5GB.

I am trying to build git repo project through jenkins. But every time the jenkins return error log as 'my project return error after 10min'. Is there a way to solve this or increase the timeout duration? My project have a size around 5GB.

推荐答案

来自此答案:

解决方法#2-增加超时时间以允许较长的初始时间 使用Git.timeOut属性完成克隆过程:

Workaround #2 - increase the timeout to allow for the long initial clone process to complete, using the Git.timeOut property:

java -Dorg.jenkinsci.plugins.gitclient.Git.timeOut=60 -jar jenkins.war

这个SO问题是如何设置属性的一个很好的例子 詹金斯服务.另外,请注意,此值以分钟为单位,而不是以分钟为单位 秒.此变通办法由

This SO question is a good example of how to set properties for the Jenkins service. Also, note that this value is in minutes and not seconds. This workaround is courtesy of David.

这篇关于10分钟后我的项目返回错误超时的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆