LoginSignup
1
0

More than 5 years have passed since last update.

brew でインストールした jenkins でハマった @ OSX with tmux

Posted at

deamonで動かす予定で
launchctl load ~/Library/LaunchAgents/homebrew.mxcl.jenkins.plist
で起動して、githubに繋がらないのでハマっていた。

シェルからgithubにはアクセスできる。
brew install jenkins ではログインユーザで動作するので、アクセスできるはずだった。

$ brew info jenkins 
jenkins: stable 1.524, HEAD
http://jenkins-ci.org
/usr/local/Cellar/jenkins/1.524 (5 files, 179M) *
  Built from source
From: https://github.com/mxcl/homebrew/commits/master/Library/Formula/jenkins.rb
==> Caveats
To reload jenkins after an upgrade:
    launchctl unload ~/Library/LaunchAgents/homebrew.mxcl.jenkins.plist
    launchctl load ~/Library/LaunchAgents/homebrew.mxcl.jenkins.plist

WARNING: launchctl will fail when run under tmux.

WARNING: launchctl will fail when run under tmux.
tmux環境からlaunchctlすると駄目って書いてあって、まさにこの状況だった。

別ターミナルで
launchctl load ~/Library/LaunchAgents/homebrew.mxcl.jenkins.plist
したら問題なかった。

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0