Skip to content

Instantly share code, notes, and snippets.

@hoyin258
Last active December 19, 2019 14:02
Show Gist options
  • Save hoyin258/8e914fa1aeec3ba63825b9cab2b06ed0 to your computer and use it in GitHub Desktop.
Save hoyin258/8e914fa1aeec3ba63825b9cab2b06ed0 to your computer and use it in GitHub Desktop.
# 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
@hoyin258
Copy link
Author

hoyin258 commented Nov 3, 2017

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment