gpasswd -a root jenkins
vim /etc/default/jenkins JENKINS_USER="root" JENKINS_GROUP="root"
Jenkins用户授予root权限
原文:https://blog.51cto.com/heyong/2456753