Hudson SCM 轮询线程在轮询时挂起
我们使用 Hudson 作为我们的持续构建环境。由于某种原因,SCM 轮询的线程有时会在一段时间后挂起。我对这些设置进行了很多尝试,但似乎没有什么真正起作用。如何解决这个问题,是否有一些脚本可以检测到这种情况以便能够重新启动 hudson?顺便提一句。重新启动 hudson 是目前解决此问题的唯一方法。
We use Hudson for our continuose build environment. For some reason, the thread for SCM Polling hungs somethimes after a while. I've experiemented a lot with the settings, but nothing seems to really work. How to fix this and are there some scripts out there which can detect such a case to be able to restart hudson? Btw. restarting hudson is the only way to solve this issue for us at the moment.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
这类似于 bug 5413,自 2010 年底以来应该通过 HUDSON 5977(Hudson 1.380+,或现在的 Jenkins)。
您在这些线程中 某种方法来杀死卡在轮询步骤上的任何线程:
That is similar to bug 5413, which should be solved since late 2010 with HUDSON 5977 (Hudson 1.380+, or now Jenkins).
You had in those thread some way to kill any thread stuck on the polling step:
另一个答案对我不起作用,但以下脚本 发现了此问题问题做了:
The other answer didn't work for me, but the following script found the the issue for this problem did: