• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

riboseinc/homebrew-jenkins-slave: macOS Jenkins slave

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称:

riboseinc/homebrew-jenkins-slave

开源软件地址:

https://github.com/riboseinc/homebrew-jenkins-slave

开源编程语言:

Ruby 100.0%

开源软件介绍:

Homebrew for jenkins-slave

Build Status

This tap contains a formula to install the Jenkins Slave on macOS.

Install

brew tap riboseinc/jenkins-slave
brew install jenkins-slave

You can start the slave manually for test via commandline:

jenkins-slave -jnlpUrl http://your-jenkins/computer/node/slave-agent.jnlp -secret 9...b

But this is not recomended for production setup and only for testing. For production setup you should install jenkins-slave as daemon. To do so you first need to configure he daemon:

jenkins-slave-configure --url http://your-jenkins/computer/node/slave-agent.jnlp --secret ******

and then install it:

sudo brew services start jenkins-slave

Development

If you've cloned this repo and want to install your work in progress locally run the following command from inside this repository:

brew install --build-from-source ./jenkins-slave.rb

Good resource to stat is the Formula Cookbook.

Launch Daemons

Services on Mac OS are done by Launch Daemons (Daemons and Services Programming Guide from Apple).

To check if the service runs run this command:

sudo launchctl list | grep jenkins

Thisshould print:

2673    0       com.ribose.jenkins.slave

The first number is the PID of the running command and the second number is the status code. A status indicates an error. You cna inspect it wuth launchctl error <NUMBER>.

License

Code is under the BSD 2 Clause license.




鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap