Skip to content

Instantly share code, notes, and snippets.

@hujuu
Last active December 10, 2018 00:52
Show Gist options
  • Save hujuu/e2b46edfd1cb881e26653b01abe0d72c to your computer and use it in GitHub Desktop.
Save hujuu/e2b46edfd1cb881e26653b01abe0d72c to your computer and use it in GitHub Desktop.
[Mac]HomebrewでJenkinsをインストール ref: https://qiita.com/hujuu/items/5bfc80c265ae7d162966
$ xcode-select —install
Downloading Command Line Tools (macOS Sierra version 10.12) for Xcode
Downloaded Command Line Tools (macOS Sierra version 10.12) for Xcode
Installing Command Line Tools (macOS Sierra version 10.12) for Xcode
Done with Command Line Tools (macOS Sierra version 10.12) for Xcode
Done.
$ brew cask install homebrew/cask-versions/java8
java -jar /usr/local/opt/jenkins/libexec/jenkins.war
$ brew doctor
Your system is ready to brew.
Please note that these warnings are just used to help the Homebrew maintainers
with debugging if you file an issue. If everything you use Homebrew for is
working fine: please don't worry and just ignore them. Thanks!
Warning: Unbrewed dylibs were found in /usr/local/lib.
If you didn't put them there on purpose they could cause problems when
building Homebrew formulae, and may need to be deleted.
Unexpected dylibs:
/usr/local/lib/libecomlodr.dylib
$ rm -rf /usr/local/lib/libecomlodr.dylib
Please note that these warnings are just used to help the Homebrew maintainers
with debugging if you file an issue. If everything you use Homebrew for is
working fine: please don't worry and just ignore them. Thanks!
Warning: Unbrewed dylibs were found in /usr/local/lib.
If you didn't put them there on purpose they could cause problems when
building Homebrew formulae, and may need to be deleted.
Unexpected dylibs:
/usr/local/lib/libecomlodr.dylib
$ rm -rf /usr/local/lib/libecomlodr.dylib
Warning: Your Homebrew is outdated.
You haven't updated for at least 24 hours. This is a long time in brewland!
To update Homebrew, run `brew update`.
$ brew update
Warning: Your Homebrew is outdated.
You haven't updated for at least 24 hours. This is a long time in brewland!
To update Homebrew, run `brew update`.
$ brew update
$ brew install jenkins
java -jar /usr/local/opt/jenkins/libexec/jenkins.war
$ brew install jenkins
jenkins: Java 1.8 is required to install this formula.
JavaRequirement unsatisfied!
You can install with Homebrew Cask:
brew cask install homebrew/cask-versions/java8
You can download from:
https://www.oracle.com/technetwork/java/javase/downloads/index.html
Error: An unsatisfied requirement failed this build.
java -jar /usr/local/opt/jenkins/libexec/jenkins.war
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment