ERROR: Error fetching remote repo 'origin' 错误解决

千万不要慌张,认真看控制台输出

ERROR: Error fetching remote repo 'origin'
...
...
Caused by: hudson.plugins.git.GitException: Command "git config remote.origin.url http://aaaaaaaaaaaaaaa.git" returned status code 255:
stdout: 
stderr: error: could not lock config file .git/config: Permission denied
可以看出是.git/config: Permission denied 权限问题,.

解决方法:手动,进入工作空间,删除项目目录,重新构建即可。
posted @ 2019-07-12 11:51  清哥哥  阅读(18057)  评论(0编辑  收藏  举报