Skip to content

Instantly share code, notes, and snippets.

@y-matsumoto
Created February 18, 2013 17:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save y-matsumoto/4978900 to your computer and use it in GitHub Desktop.
Save y-matsumoto/4978900 to your computer and use it in GitHub Desktop.
jenkinsインストール設定
パッッケージ管理はhomebrew
■インストール
[php]
brew install jenkins
[/php]
■インストール確認
[php]
brew list
[/php]
■jenkinsインストール情報(バージョンなどの確認)
[php]
brew info jenkins
[/php]
■起動
•手動起動(毎回起動する必要がある)
[php]
java -jar /usr/local/cellar/jenkins/1.496/libexec/jenkins.war
[/php]
■自動起動(MAC起動時に自動実行)
launchctlというサービスの登録・管理が可能なものを使用する
[php]
ln -sfv /usr/local/opt/jenkins/*.plist ~/Library/LaunchAgents
launchctl load ~/Library/LaunchAgents/homebrew.mxcl.jenkins.plist
[/php]
■ブラウザで動作確認
デフォルトポートは8080となる
localhost:8080
GUI管理画面が表示されたら完了
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment