Code Monkey home page Code Monkey logo

homebrew-jenkins-slave's Introduction

Homebrew for jenkins-slave

Build Status

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

Install

brew tap iteratec/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.

homebrew-jenkins-slave's People

Contributors

weltraumschaf avatar phuonghuynh avatar erikbor avatar ronaldtse avatar camobap avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.