Eu configurei um Jenkins Master (CentOS 7) e um nó no qual meu projeto está em execução (ambiente de desenvolvimento, Windows 7). Meu requisito de projeto é o Java 1.6.
Na minha máquina com Windows 7 e Java 1.7, posso me conectar com o gerenciador do jenkins - > nodo mng.
Quando eu executo o comando:
java -jar slave.jar -jnlpUrl http://192.168.100.54:8888/computer/Win7/slave-agent.jnlp
Aqui está a saída:
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
Se alguma coisa estiver faltando, por favor me avise.