首先停止jenkins
sudo launchctl unload /Library/LaunchDaemons/org.jenkins-ci.plist
sudo vim /Library/LaunchDaemons/org.jenkins-ci.plist
将下面对应的位置分别修改为你需要的用户组和用户名
sudo chown -R zhulangren:wheel /Users/Shared/Jenkins/
sudo chown -R zhulangren:wheel /var/log/jenkins/
启动jenkins
sudo launchctl load /Library/LaunchDaemons/org.jenkins-ci.plist