git failing during gerrit builds - hopefully now fixed
We have all been suffering with build failures on gerrit jobs due to git problems for the last little while. As far as I know this problem has been on and off for about a year now. I think I have tracked down a possible root cause, but I don't know why CDT suffered more than other projects.
I have introduced a new way to interact with git in the gerrit verify jobs. This change reduces the verify jobs' git clone stage from 3-20 minutes to approx 1 minute.
See this pipeline's "git clone" column to see the improved numbers. Build #1136 is the first one with the fix.
Please let me know if you notice anything awry with this change.