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.
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
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
- Thomas Bartelmess for the start/stop script
- 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 (c) 2011 Mark Rada. See LICENSE.txt for further details.