[英]Jenkins - How to build a master job in slave machine?
Initially, I configured the master and slave connection setup in windows machine by launching Java web start method. 最初,我通过启动Java Web Start方法在Windows机器中配置了主从连接设置。 And then Created a Job in Master machine. 然后在Master机器上创建一个Job。 Now my question is how to assign a master job to slave machine to build the job. 现在,我的问题是如何将主作业分配给从属计算机以构建作业。 Please provide me the steps to follows. 请向我提供以下步骤。 Thanks you. 谢谢。
And please let me know is slave machine requires master machine URL for Connecting Master Slave Connection setup? 并且请让我知道从机是否需要主机URL才能连接主从连接设置?
You can tie your job on whichever slave you want. 您可以将您的工作与所需的任何奴隶联系在一起。 There is option of "Restrict where this project can be run", You can provide jenkins slave name on which this job should always run. 有“限制在此项目上运行的位置”选项。您可以提供应始终在其上运行此作业的jenkins从属名称。
Answer to your last doubt. 回答您的最后一个疑问。 There is standard methods to connect slave to master, it depends how are you connecting the slave to master. 有标准方法将从站连接到主站,这取决于您如何将从站连接到主站。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.