千萬不要慌張,認真看控制台輸出
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 權限問題,.
解決方法:手動,進入工作空間,刪除項目目錄,重新構建即可。