简体   繁体   English

无法在Windows机器上安装Jenkins Slave

[英]Cannot install jenkins slave on a windows machine

I am a very newbie to Jenkins , 我是詹金斯的新手,

I am trying to Lunch a slave via Java Web Start, and when i try to install the Jenkins slave knowing that the master address is as follow http://masterdomain.com i see that the slave tries to connect to http://masterdomain.com:54999 , any ideas why this happens 我试图通过Java Web Start为从属午餐,当我尝试安装Jenkins从属时,知道主地址如下http://masterdomain.com,我看到从属尝试连接到http:// masterdomain .com:54999 ,为什么会这样

Jenkins uses a special port for connections between the slave and the master. 詹金斯(Jenkins)使用一个特殊的端口来连接从机和主机。 By default the port number is variable, but if you have a firewall between the master and the slave you can fix the port number via the URL <your Jenkins master URL>/configureSecurity/ 默认情况下,端口号是可变的,但是如果主服务器和从服务器之间有防火墙,则可以通过URL <your Jenkins master URL>/configureSecurity/来修复端口号。

Hey to answer your question from the comments above, the MASTER URL for jenkins is configured in the Manage Jenkins --> Configure System --> Jenkins Location 嘿,从上面的评论中回答您的问题,在管理Jenkins->配置系统-> Jenkins位置中配置了jenkins的MASTER URL。

The Java Web start tries to get the URL from this location setting and uses it to setup the JNLP Agent on the slave. Java Web Start尝试从此位置设置获取URL,并使用它在从服务器上设置JNLP代理。

Hope this helps. 希望这可以帮助。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM