jenkins安装

  • 安装

    1
    brew install jenkins-lts
  • 启动

    1
    brew services start jenkins-lts
  • 停止

    1
    brew services stop jenkins-lts
  • 重启

    1
    brew services restart jenkins-lts
  • 更新

    1
    brew upgrade jenkins-lts

局域网访问配置

homebrew.mxcl.jenkins.plist里面httpListenAddress127.0.0.1更改为0.0.0.0

两个地方

  • ~/Library/LaunchAgents/homebrew.mxcl.jenkins.plist
  • /usr/local/Cellar/jenkins/版本号/homebrew.mxcl.jenkins.plist

参考:https://www.jianshu.com/p/10041e79ac6f