Jenkins does not start on macOS 10.12 (Sierra)

前端 未结 9 1744
既然无缘
既然无缘 2021-02-01 19:16

After upgrading my macOS to Sierra, when I start Jenkins using launchctl load I cannot connect to localhost:8080. If I call launchctl load again, I see response \"service alread

9条回答
  •  臣服心动
    2021-02-01 19:28

    Seems that Sierra changed the permission of Jenkis folder. So the best solution is:
    1. Add execute permissions to org.jenkins-ci.plist:
    sudo chmod +x /Library/LaunchDaemons/org.jenkins-ci.plist
    2. Set jenkins as the owner of /var/log/jenkins:
    sudo chown jenkins /var/log/jenkins
    3. Start Jenkins:
    sudo launchctl load /Library/LaunchDaemons/org.jenkins-ci.plist

提交回复
热议问题