resources-plugin-2.6.pom.part.lock (没有那个文件或目录)

由于 自定义 maven 仓库没权限

/home/repository 自定义目录

[root@localhost Service]# cat /etc/group|grep jenkins
jenkins:x:984:
[root@localhost Service]# cat /etc/passwd|grep jenkins
jenkins:x:989:984:Jenkins Automation Server:/var/lib/jenkins:/bin/false
[root@localhost Service]# groups jenkins
jenkins : jenkins
[root@localhost Service]# chown -R jenkins:jenkins /home/repository
[root@localhost Service]# chmod -R 755 /home/repository/
[root@localhost Service]# 

 

原文地址:https://www.cnblogs.com/vipsoft/p/11605077.html