2017-05-04 120 views
0

我想用Jenkins部署到ECS和EFS。 (在/ var/jenkins_home安裝)詹金斯ECS和EFS的錯誤

看來除了當我部署我得到在日誌中以下錯誤服務都很好:

touch: cannot touch ‘/var/jenkins_home/copy_reference_file.log’: Permission denied 
Can not write to /var/jenkins_home/copy_reference_file.log. Wrong volume permissions? 
No newer events found at the moment. Retry. 

有沒有辦法解決這個問題,讓我有足夠的權限在/var/jenkins_home

回答

0

是的,它有點瘋狂,但一個簡單的解決方案就是在你的efs文件位置上運行chown命令。 E.g如果「/ EFS」是你的EFS安裝,簡單的運行sudo chown 1000 efs/

應該

後立即工作得很好