TeamCity + Git agent side checkout error

I am getting the following error on agent side checkout:

[13:18:33]: [Updating sources: Agent side checkout...] Failed to perform checkout on agent: 'C:\Git\bin\git.exe fetch --no-tags -q origin +refs/heads/master:refs/remotes/origin/master' command failed. stderr: 'D:\TeamCity\Temp\Agent' is not recognized as an internal or external command, operable program or batch file. fatal: The remote end hung up unexpectedly

I have TeamCity 5.1.5 (13602) and Git 1.7.3.1 on Windows 2003. I can run the specified command from the command prompt with no error.

1 comment

I figured this error out. Apparently, TeamCity/Git does not like spaces in the agent temp directory path.

0

Please sign in to leave a comment.