Jenkins stopped work on checking out revision

时光总嘲笑我的痴心妄想 提交于 2019-12-24 11:02:01

问题


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.

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

Console log:

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)

In Jenkins config:

  • 6 executors
  • Quiet period 10
  • SCM checkout retry count 10

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

What I should check or update?


回答1:


Fixed issue by updating JDK to version 7u11.

Thanks for the advice!



来源:https://stackoverflow.com/questions/14566026/jenkins-stopped-work-on-checking-out-revision

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!