1、运行时,报没有权限 2、解决方法,将Jenkins运行用户改为root,默认Jenkins用户
vim /etc/sysconfig/jenkins
systemctl restart jenkins
3、效果