简体   繁体   English

Jenkins-如何在从属机器上建立主作业?

[英]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.

相关问题 当 jenkins 作业在从机上运行时,如何使用 Jenkinsfile 管道脚本从主机读取 yaml 文件? - How to read yaml file from master using Jenkinsfile pipeline script when jenkins job is running on slave machine? 如何在jenkins slave机器上运行selenium脚本,但脚本在Master机器中 - How to run selenium scripts in jenkins slave machine but the scripts are in Master machine 如何将作业的工作区从 jenkins 主容器复制到从容器并从从容器复制回主容器? - How to copy a workspace of a job from jenkins master to slave container and copy back from slave to master? 如何配置jenkins主从服务器,其中master在linux上,而slave在Windows机器上 - how to configure jenkins master slave where master is on linux and slave on windows machine jenkins作业构建不在从节点中 - jenkins job build not in slave node Jenkins - 在 master 和 slave 中运行单个作业 - Jenkins - Running a single job in master as well as slave 批处理命令作业在主服务器中起作用,但在从属詹金斯中不起作用 - Batch command job works in master but not in slave Jenkins 无法访问从机上的Jenkins主URL - Cannot access Jenkins Master URL on slave machine 如何将构建XML从Master复制到Jenkins中的Slave节点? - How to copy build XMLs from Master to the Slave node in Jenkins? 重启Slave机器后,Jenkins构建作业不会继续下游作业 - Jenkins build job does not continue with downstream job after reboot of Slave machine
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM