原文链接 Homebrew is the easiest way to install and manage applications on OS X. Let\’s go through how we install and configure Jenkins. Installation Follow the instructions at http://brew.sh/ if you have not had Homebrew installed. Then, let\’s proceed to install Jenkins $ brew update && brew install jenkins Jenkins is a Java web application. Download and install the latest Java Runtime Environment manually, or use Homebrew Cask to install it $ brew cask install java Starting Jenkins After Jenkins is installed successfully, follow the instructions to start Jenkins on login $ ln -sfv /usr/local/opt/jenkins/*.plist ~/Library/LaunchAgents If you want to configure Jenkins to launch on system startup, for all users on OS X, then copy the plist file to the system Launchd location instead $ sudo cp -fv /usr/local/opt/jenkins/*.plist /Library/LaunchDaemons $ sudo chown `whoami` /Library/LaunchDaemons/ho...