Reputation: 113
I am a Teamcity Developer. We Recently Moved out Teamcity Builds from local server to Public cloud instance.
Everything went well but couldn't able to run the build.
ERROR :
Failed to perform checkout on agent: '/usr/bin/git init' command failed. stderr: /usr/local/sg/chaldron/repo/chaldron-pngdev/.git: Permission denied
I am using Git latest and Java latest version.
Can anyone suggest how to solve the error?
Thanks in Advance.
Upvotes: 2
Views: 2587
Reputation: 1505
For whatever reason, the build agent does not have permission to access the git repo.
A few things to try:
Hopefully one of these will point to your issue and let you resolve it
Upvotes: 5