在使用Jenkins部署Spring Boot项目时,构建 报xxxxx.RELEASE.pom.part.lock (No such file or directory) and ‘parent.relativePath’ points at wrong local POM的错误

 

造成这个问题的原因是,使用Jenkins用户没有访问权限maven的本地仓库,所造成的

解决办法:

chown -R jenkins:jenkins /data/maven_repo

chmod -R g-w /data/maven_repo

chmod -R o-wx /data/maven_repo

相关文章:

  • 2021-11-14
  • 2021-08-03
  • 2021-07-07
  • 2022-12-23
  • 2022-12-23
  • 2021-10-08
  • 2022-12-23
  • 2021-04-19
猜你喜欢
  • 2021-11-28
  • 2021-11-22
  • 2023-02-16
  • 2022-12-23
  • 2021-05-27
  • 2021-12-20
相关资源
相似解决方案