千万不要慌张,认真看控制台输出
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 权限问题,.
解决方法:手动,进入工作空间,删除项目目录,重新构建即可。