Reputation: 81
I have a main Jenkins server, running on a linux VM, listening on foo.com:9090/jenkins
.
I need to create a node, on a windows VM, that is inside the same network.
I tried to do it using JavaWebStart, but i could not configure it right. I need a way to specify the /jenkins
path. foo.com:9090
doesn't work, neither foo.com
. And when i specify the correct address, foo.com:9090/jenkins
, The JNLP File gives a input exception on /Jenkins
.
I tried SSH, but could not get it to work on Windows either.
Is there any way to specify on /Jenkins
when configuring the host?
Upvotes: 1
Views: 7207
Reputation: 2682
Go to Manage Jenkins > Configure Global Security
and add a Fixed Port
for JNLP Agents.
Then configure a firewall rule for the fixed port in your master
machine so it can allow connections.
For Ubuntu:
sudo ufw allow <FIXED_PORT>/tcp
Then try to launch your agent.
Upvotes: 2