Skip to content

An script for downloading and installing Jenkins CI as an OS X daemon using launchd

License

Notifications You must be signed in to change notification settings

mobilenuggets/Jenkins-Installer-OS-X

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Jenkins Installer for Mac OS X

This project aims to create a Mac OS installer package for setting up Jenkins on a Mac.

Right now it is just a simple MacRuby script, but it has most of the features that the installer will have.

  • Jenkins is installed to JENKINS_INSTALL_DIR (by default /Users/bertrand/Workspace/Jenkins).
  • The JENKINS_HOME is set to JENKINS_INSTALL_DIR/working_dir
  • Logs are sent to /Library/Logs/Jenkins
  • A launchd plist is created and installed for Jenkins with UserName and GroupName set to JENKINS_USERNAME and JENKINS_GROUPNAME (see beginning of setup.rb file)
  • Ownership on the JENKINS_INSTALL_DIR directory are set to JENKINS_USERNAME.

Running the installer

5 second how-to:

# If you want Jenkins to listen on the default port
sudo ./setup.rb

# If you want Jenkins to listen on a different port
sudo ./setup.rb --httpPort 9090

Start/Stop script

10 second how-to:

# Check on the status of Jenkins
sudo ./jenkins_ctl.rb status

# Stop Jenkins
sudo ./jenkins_ctl.rb stop

# Start Jenkins
sudo ./jenkins_ctl.rb start

Special thanks to

Contributing to keychain

  • Check out the latest master to make sure the feature hasn't been implemented or the bug hasn't been fixed yet
  • Check out the issue tracker to make sure someone already hasn't requested it and/or contributed it
  • Fork the project
  • Start a feature/bugfix branch
  • Commit and push until you are happy with your contribution

Copyright

Copyright (c) 2011 Mark Rada. See LICENSE.txt for further details.

About

An script for downloading and installing Jenkins CI as an OS X daemon using launchd

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 100.0%