Jenkins distributed builds - master/slave

step1 

很多前人的经验中提到了关于将其安装为一个windows service 的操作 https://wiki.jenkins-ci.org/display/JENKINS/Installing+Jenkins+as+a+Windows+service 

NOTE: if you installed Jenkins using the windows installer, you shouldn't need to do anything else here because the windows installer automatically runs Jenkins as a windows service.

目前使用的版本为2.5以上, 已经支持自动安装为service, 直接下载安装即可,不再需要上面的步骤。


step2 
Download JDK http://www.java.com/en/download/manual.jsp, install on slave node.


step3 

PS:
There is no "Dumb Slave" option anymore:
"Copy Existing Node" is a good choice.

In step 4, for "Remote FS Root" is very important. It's workspace for slave node; for "usage", I want job a run on slave node A, job b run on slave node B, so I choose "Leave this machine for tied jobs only". If you don't care on which slave node will job a run, that is job a choosees slave node to run randomly, "tilize this slave as much as possible " is ok.

In step 5.a, do accessJenkins master server url (http://yourjenkinsmaster:8080) on the slave machine , and then click on the Launch  button. 
I have experienced go to the url on the master machine. After installing JNLP, the small window with "connected" appeared, but no connection established because the master and slave are actually the same machine under such configuration.

In step 5.d, before you do that, please make sure java has been installed on the slave node.

PPS:
more about distributed builds - master/slave  https://wiki.jenkins-ci.org/display/JENKINS/Distributed+builds


More Info:
除了master/slave构建的介绍还补充了几个插件的使用介绍 http://blog.csdn.net/anlegor/article/details/24067317 




  • 1
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值