jenkins账号分别加入到root组 gpasswd -a root jenkins vim /etc/sysconfig/jenkins JENKINS_USER="root" JENKINS_GROUP="root"