我在 Windows 7 64 位 PC 上设置了 Jenkins,并在另一台 Win7 64 PC 上安装了 Jenkins 从服务。主 PC 给出此错误:
Connection was broken
java.net.SocketException: Connection reset
at java.net.SocketInputStream.read(Unknown Source)
at java.io.BufferedInputStream.fill(Unknown Source)
at java.io.BufferedInputStream.read(Unknown Source)
at java.io.ObjectInputStream$PeekInputStream.peek(Unknown Source)
at java.io.ObjectInputStream$BlockDataInputStream.peek(Unknown Source)
at java.io.ObjectInputStream$BlockDataInputStream.peekByte(Unknown Source)
at java.io.ObjectInputStream.readObject0(Unknown Source)
at java.io.ObjectInputStream.readObject(Unknown Source)
at hudson.remoting.Channel$ReaderThread.run(Channel.java:1127)
我可以做些什么来诊断问题?
[更新] 当我进入节点页面时显示错误。添加的从站显示为断开连接。当我单击节点名称时,会显示上述错误。
[更新 2] 当一个作业被强制在从站上运行时,它只是工作。之后,slave 在节点页面中显示为已连接。现在我想起来了,我没有尝试将多个作业排队。也许这也会触发对奴隶的处决?
无论如何,我现在已经启动并运行了我的CI 农场:-)