Last active
December 19, 2019 14:02
-
-
Save hoyin258/8e914fa1aeec3ba63825b9cab2b06ed0 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Installation Jenkins: | |
brew update && brew install jenkins | |
# Java Runtime Environment: | |
brew cask install java | |
# Config Launch: | |
ln -sfv /usr/local/opt/jenkins/*.plist ~/Library/LaunchAgents | |
sudo cp -fv /usr/local/opt/jenkins/*.plist /Library/LaunchDaemons | |
sudo chown `whoami` /Library/LaunchDaemons/homebrew.mxcl.jenkins.plist | |
# Start | |
/usr/local/bin/jenkins | |
# Source: http://flummox-engineering.blogspot.com/2016/01/installing-jenkins-os-x-homebrew.html |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
For Permission Homebrew
brew sudo chown -R $(whoami) /usr/local
For Java version (Cask):
brew update
brew tap caskroom/cask
brew install brew-cask
brew update && brew upgrade brew-cask && brew cleanup && brew cask cleanup
brew tap caskroom/versions
brew cask info java7