It looks like a duplicate of this question but my issue is that I am running a hosted version. VSTS GIT Fetch Failed
I enabled system debug and pretty much allowed all roles all access since its only me at the moment. I had created a new project recently and that is the only thing that has changed for me in VSTS. I am running on a hosted agent and tried creating a new build pipeline. Has anyone faced this recently?
For anyone who finds this question, while searching for the 128 exit code:
In my case it was Bitbucket Server running out of space (full hard drive) which caused this error. If you're hosting your git server yourself, check your hard drive:
df
Maybe that helps someone.
Another possible cause of the "Git fetch failed with exit code: 128" error message - it happened to us for pull requests builds when a developer clicked merge right after a pull request was created and the build, of course, hasn't finished yet.
So it was the "follow the process" solution for us. It could be enforced also.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With