Я установил один Jenkins Master (CentOS 7) и один узел, на котором работает мой проект (среда разработки, Windows 7). Требования к моему проекту - Java 1.6.
На моем компьютере с Windows 7 и Java 1.7 я могу подключиться с помощью узла manage jenkins -> mng.
Когда я запускаю команду вроде:
java -jar slave.jar -jnlpUrl http://192.168.100.54:8888/computer/Win7/slave-agent.jnlp
Вот результат:
Feb 1, 2016 6:45:57 AM hudson.remoting.jnlp.Main createEngine
INFO: Setting up slave: Win7
Feb 1, 2016 6:45:57 AM hudson.remoting.jnlp.Main$CuiListener <init>
INFO: Jenkins agent is running in headless mode.
Feb 1, 2016 6:45:57 AM hudson.remoting.jnlp.Main$CuiListener status
INFO: Locating server among [http://192.168.100.54:8888/]
Feb 1, 2016 6:45:57 AM hudson.remoting.jnlp.Main$CuiListener status
INFO: Handshaking
Feb 1, 2016 6:45:57 AM hudson.remoting.jnlp.Main$CuiListener status
INFO: Connecting to 192.168.100.54:37876
Feb 1, 2016 6:45:57 AM hudson.remoting.jnlp.Main$CuiListener status
INFO: Trying protocol: JNLP2-connect
Feb 1, 2016 6:45:57 AM hudson.remoting.jnlp.Main$CuiListener status
INFO: Connected
Feb 1, 2016 6:45:57 AM hudson.remoting.SynchronousCommandTransport$ReaderThread
run
SEVERE: I/O error in channel channel
java.io.IOException: Unexpected termination of the channel
at hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:50)
Caused by: java.io.EOFException
at java.io.ObjectInputStream$PeekInputStream.readFully(Unknown Source)
at java.io.ObjectInputStream$BlockDataInputStream.readShort(Unknown Source)
at java.io.ObjectInputStream.readStreamHeader(Unknown Source)
at java.io.ObjectInputStream.<init>(Unknown Source)
at hudson.remoting.ObjectInputStreamEx.<init>(ObjectInputStreamEx.java:48)
at hudson.remoting.AbstractSynchronousByteArrayCommandTransport.read(AbstractSynchronousByteArrayCommandTransport.java:34)
at hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:48)
Feb 1, 2016 6:45:57 AM hudson.remoting.jnlp.Main$CuiListener status
INFO: Terminated
Если чего-то не хватает, дайте мне знать.