Connection issue with Jenkins slave on Windows Azure

后端 未结 2 1312
盖世英雄少女心
盖世英雄少女心 2021-01-18 05:41

I\'ve set up a Jenkins slave node on a Windows Azure VM. When building on that node the project runs smoothly for about 20-30 minutes after which the connection gets dropped

2条回答
  •  鱼传尺愫
    2021-01-18 06:27

    If you have a newer version of Jenkins (ours is 1.584), you can go to the nodes configure page for the slave, click on the Advanced button under Launch Method, and add -Dhudson.slaves.ChannelPinger.pingInterval=2 to the JVM Options field.

    That did the trick for us!

提交回复
热议问题