Mac修改jenkins进程默认账户解决权限问题
2019-01-02 本文已影响0人
twj小鱼儿
首先停止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