请稍等 ...
×

采纳答案成功!

向帮助你的同学说点啥吧!感谢那些助人为乐的人

Unable to create the home directory ‘/usr/share/tomcat/.jenkins’.

Unable to create the home directory ‘/usr/share/tomcat/.jenkins’. This is most likely a permission problem.

To change the home directory, use JENKINS_HOME environment variable or set the JENKINS_HOME system property. See Container-specific documentation for more details of how to do this.

正在回答 回答被采纳积分+3

1回答

Oscar 2021-12-08 18:02:57
sudo chown jenkins /usr/share/tomcat/.jenkins
sudo chmod u+w /usr/share/tomcat/.jenkins

可以试试运行这两行命令

0 回复 有任何疑惑可以回复我~
  • 同样的问题 求解决方法
    回复 有任何疑惑可以回复我~ 2021-12-13 10:46:07
问题已解决,确定采纳
还有疑问,暂不采纳
Linux核心技能与应用
  • 参与学习       2062    人
  • 解答问题       697    个

一网打尽Linux必备核心技能,面试、升职必备的“敲门砖”。

了解课程
意见反馈 帮助中心 APP下载
官方微信