Mac修改jenkins进程默认账户解决权限问题

首先停止jenkins
sudo launchctl unload /Library/LaunchDaemons/org.jenkins-ci.plist
sudo vim /Library/LaunchDaemons/org.jenkins-ci.plist
将下面对应的位置分别修改为你需要的用户组和用户名

18164218_HQbF.png

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

转自:https://my.oschina.net/zhulangren/blog/790453

你可能感兴趣的:(Mac修改jenkins进程默认账户解决权限问题)