Mac下搭建Jenkins自动构建平台

  1. Jenkins实现Android自动化打包:参考这个进行搭建

  2. 遇到This Jenkins instance appears to be offline问题,是由于https的问题,参考Why does Jenkins say “This Jenkins instance appears to be offline”修改/Users/Shared/Jenkins/Home下的文件hudson.model.UpdateCenter.xmlhttpshttp

  3. 启动和停止

    1. 启动
      sudo launchctl load /Library/LaunchDaemons/org.jenkins-ci.plist
    2. 停止
      sudo launchctl unload /Library/LaunchDaemons/org.jenkins-ci.plist
  4. 卸载Jenkins,参考How to uninstall Jenkins?

你可能感兴趣的:(Mac下搭建Jenkins自动构建平台)