brew install Jenkins
Chens-MacBook-Pro:Downloads chenqing$ brew install jenkins
==> Downloading http://mirrors.jenkins-ci.org/war/1.577/jenkins.war
######################################################################## 100.0%
==> Caveats
Note: When using launchctl the port will be 8080.
To have launchd start jenkins at login:
ln -sfv /usr/local/opt/jenkins/*.plist ~/Library/LaunchAgents
Then to load jenkins now:
launchctl load ~/Library/LaunchAgents/homebrew.mxcl.jenkins.plist
Or, if you don't want/need launchctl, you can just run:
java -jar /usr/local/opt/jenkins/libexec/jenkins.war
==> Summary
🍺 /usr/local/Cellar/jenkins/1.577: 3 files, 65M, built in 3.5 minutes
Chens-MacBook-Pro:Downloads chenqing$