Hi all,
I have a jenkins master server running on a remote machine behind an apache webserver. I limited access to the jenkins master server to the localhost ip.
We connect to the jenkins server through a ssh socks proxy.
I now need to run an jenkins ios slave (for building ios apps). This slave is sitting on a local network behind a firewall and router that i cannot configure.
I wonder if there is a possibility to configure the slave so it would connect to the master server via a ssh tunnel?
If i setup up a ssh tunnel like this:
ssh -p 33322 -L localhost:8888:somedomain.com:80 somedomain.com
I can reach the master server with wget:
wget http://localhost:8888/jenkins/computer/iostestslave/slave-agent.jnlp
but if i trie to run:
it fails because it tries to reach the master through the original url and it also puts some strange url arguments in there:
<argument>http://localhost:8888:8888/jenkins/</argument>
I even changed all the urls in slave-agent.jnlp manually, then it starts the window but fails saying the server rejected the connection.
Is what I'm trying to do even possible? (innitiating the connection from the slave and tunneling all the slave master communication through ssh?)
best regards,
samy