1

When I change the date/time on the Windows VM that hosts a Jenkins slave, the slave will lose connection for a minute and then regain connection. These are the commands I'm running in a command window.

date 11/03/13
time 00:00:00.00

This is needed for testing purposes. The problem just started happening recently. I can execute the date/time change for Spring DST and it has no problems.

date 03/09/14
time 00:00:00.00

I've tried wrapping it with stopping/starting the time service but it still loses connection upon the date change.

net stop w32time
date 11/03/13
time 00:00:00.00
net start w32time

Any thoughts or ideas?

4

1 回答 1

0

由于时钟差异,“预防性节点监控”似乎使从站脱机。节点配置页面https://jenkins/computer/configure是您设置它的地方。这是一个屏幕截图:

http://note.io/1cr5JI4

当从节点失去连接时,应该在主节点的该节点页面上给出离线原因。如果这是问题所在,这个原因应该说明时差,或者如果詹金斯自己让奴隶离线,那么会给你一些其他信息。

如果 Jenkins 由于时钟差异而使从站离线,您可以通过取消选中该框来禁用该功能。

于 2013-10-30T19:39:30.440 回答