[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Jenkins Windows Slave



Hi

Is it possible to add an existing windows machine as a slave to a Jenkins master running on Openshift? 

I exposed the jnlp service with a route in Openshift and tried to use the tunnel option with 1) a Java Web Start slave, 2) running the slave client jar directly and 3) a Swarm slave. None of them worked. Seems like I just can't use the tunnel to connect to the router. 

The initial connection to the master works fine but then it fails to connect to the jnlp service.

INFO: Attempting to connect to http://web-jenkins.ospoc.aipo.gov.au/ 60787488-21
fe-4867-9251-cdba1c4b35b6 with ID 60a61643
Dec 07, 2016 9:24:16 PM hudson.remoting.jnlp.Main createEngine
INFO: Setting up slave: WS17072.production.prod-60a61643
Dec 07, 2016 9:24:16 PM hudson.remoting.jnlp.Main$CuiListener <init>
INFO: Jenkins agent is running in headless mode.
Dec 07, 2016 9:24:16 PM hudson.remoting.jnlp.Main$CuiListener status
INFO: Locating server among [http://web-jenkins.ospoc.aipo.gov.au/]
Dec 07, 2016 9:24:16 PM hudson.remoting.jnlp.Main$CuiListener status
INFO: Handshaking
Dec 07, 2016 9:24:16 PM hudson.remoting.jnlp.Main$CuiListener status
INFO: Connecting to jnlp-jenkins.ospoc.aipo.gov.au:80
Dec 07, 2016 9:24:16 PM hudson.remoting.jnlp.Main$CuiListener status
INFO: Trying protocol: JNLP3-connect
Dec 07, 2016 9:24:17 PM hudson.remoting.jnlp.Main$CuiListener status
INFO: Server didn't accept the handshake: HTTP/1.0 400 Bad request
Dec 07, 2016 9:24:17 PM hudson.remoting.jnlp.Main$CuiListener status
INFO: Connecting to jnlp-jenkins.ospoc.aipo.gov.au:80
Dec 07, 2016 9:24:17 PM hudson.remoting.jnlp.Main$CuiListener status
INFO: Trying protocol: JNLP2-connect
Dec 07, 2016 9:24:17 PM hudson.remoting.jnlp.Main$CuiListener status
INFO: Server didn't accept the handshake: HTTP/1.0 400 Bad request
Dec 07, 2016 9:24:17 PM hudson.remoting.jnlp.Main$CuiListener status
INFO: Connecting to jnlp-jenkins.ospoc.aipo.gov.au:80
Dec 07, 2016 9:24:17 PM hudson.remoting.jnlp.Main$CuiListener status
INFO: Trying protocol: JNLP-connect
Dec 07, 2016 9:24:17 PM hudson.remoting.jnlp.Main$CuiListener status
INFO: Server didn't accept the handshake: HTTP/1.0 400 Bad request
Dec 07, 2016 9:24:17 PM hudson.remoting.jnlp.Main$CuiListener status
INFO: Connecting to jnlp-jenkins.ospoc.aipo.gov.au:80
Dec 07, 2016 9:24:17 PM hudson.remoting.jnlp.Main$CuiListener error
SEVERE: The server rejected the connection: None of the protocols were accepted
java.lang.Exception: The server rejected the connection: None of the protocols w
ere accepted
        at hudson.remoting.Engine.onConnectionRejected(Engine.java:366)
        at hudson.remoting.Engine.run(Engine.java:338)


Is there a way to do this?

Thanks

Lionel


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]