1.在Mac电脑上登录Linux的Jenkins账号http://192.168.1.222:8080/jenkins,添加MacOSX节点

2.输入节点名称,勾选PermanentAgent

3.开启要绑定OSX系统电脑的远程登录

4.配置节点 推荐前面2中方式 __ web 和 ssh__
没有web选项可这样添加:

其中的
1是你的节点名字;
2是节点的描述;
3是并发任务数(不要超过5);
4是你目标电脑的工作目录,我是直接放到我桌面了,随便创建了个文件夹;
5是节点的类型(以后有mac,Windows,Linux可以分组);
6.有两种选择,我这里是选择的只允许运行绑定到这台机器的Job;
7/8/9 比较重要了;选择上图的SSH链接方式;主机host就是你的目标电脑的ip;
9的设置点击Add,如下


参考
Jenkins进阶系列之——12详解Jenkins节点配置
Jenkins配置节点(解决Linux上iOS打包)
网友评论