#停止Jenkins sudo launchctl unload /Library/LaunchDaemons/org.jenkins-ci.plist #修改用户名和群组 sudo vim +1 +/daemon +‘s/daemon/staff/‘ +/daemon +‘s/daemon/userName‘ +wq org.jenkins-ci.plist sudo chown -R userName:staff /Users/Shared/Jenkins/ #开始Jenkins sudo launchctl load /Library/LaunchDaemons/org.jenkins-ci.plist
原文地址:http://my.oschina.net/u/659405/blog/308746