本文介绍了Jenkins停止工作检查修订的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有Jenkins bilds的问题。

I have problem with Jenkins bilds.

有时,我的版本会在操作签出修订上挂起。问题不是恒定的。

Sometimes my build hangs on operations "Checking out Revision". The problem is not constant. I can get this issue in 4-5 times of 10 bilds.

我等待10-20分钟,中止这个挂起bild。

I am waiting 10-20 minutes and the abort this hangs bild.

控制台日志:

Started by upstream project "master" build number 737
originally caused by: 
Started by user anonymous
Building in workspace /var/lib/jenkins/jobs/master/workspace/CI_BUILD/integration
Checkout:integration / /var/lib/jenkins/jobs/master/workspace/CI_BUILD/integration - hudson.remoting.LocalChannel@29b99c
Using strategy: Default
Last Built Revision: Revision e0963076406dd8bd6fcbd2d31ff37ad4ea60669a (origin/master)
Fetching changes from 1 remote Git repository
Fetching upstream changes from git@github.com:shaliko/shaliko.git
Commencing build of Revision e0963076406dd8bd6fcbd2d31ff37ad4ea60669a (origin/master)
Checking out Revisione 0963076406dd8bd6fcbd2d31ff37ad4ea60669a (origin/master)

在Jenkins中配置:

In Jenkins config:


  • 6位执行者

  • 安静期10

  • SCM结帐重试次数10

我将Jenkins更新到版本1.500,并将Jenkins GIT插件更新到版本1.1.26 - 没有效果。

I update Jenkins to version 1.500 and update "Jenkins GIT plugin" to version 1.1.26 - no effect.

我应该检查或更新?

推荐答案

修复了将JDK更新为版本7u11的问题。

Fixed issue by updating JDK to version 7u11.

对于建议!

这篇关于Jenkins停止工作检查修订的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-25 08:52