Jenkins git插件 - 有时候soooo慢 [英] Jenkins git plugin - soooo slow sometimes

查看:1299
本文介绍了Jenkins git插件 - 有时候soooo慢的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

以下内容取自Jenkins日志:

The following is taken from the Jenkins log:

00:00:03.135  > git fetch --tags --progress git@github.com:some_org/some_repo.git +refs/heads/*:refs/remotes/origin/*
00:03:49.659  > git rev-parse origin/master^{commit} # timeout=10

我很困惑为什么这个超时正在发生,因为在同一台机器上运行 git fetch 与同一用户需要大约5到10秒。

I'm confused as to why this timeout is occurring, because running git fetch on the same machine, with the same user, takes about 5 to 10 seconds.

我正在使用最新版本的Git(2.1.2)和最新版本的gitplugin。

I'm using the latest (as of this writing) version of Git (2.1.2) and the latest version of the gitplugin.

想法?

推荐答案

至少在我们的例子中,问题是git版本。
我们从1.9升级到2.1.2,问题解决了。
当我第一次发布问题时,我的错误印象是升级已经发生了。

At least in our case, the issue was git version. We upgraded from 1.9 to 2.1.2 and issue got resolved. When I first posted the question, I was under the wrong impression that the upgrade already took place..

这篇关于Jenkins git插件 - 有时候soooo慢的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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