Agent-side checkout fails when not running under local systems account
Hi,
I have a setup with agent side checkout from git. Due to some issues with npm, I have changed the agent windows service from running as LocalSystem to the administrator user Agent. Now I get this error:
[2016-01-25 11:05:17,968] WARN - ch.UpdateSourcesBuildStageBase - Error while checkout on agent: '"C:\Program Files\Git\bin\git.exe" fetch --progress origin +refs/heads/master:refs/heads/master' command failed.
stderr: The system cannot find the path specified.
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
jetbrains.buildServer.vcs.VcsException: '"C:\Program Files\Git\bin\git.exe" fetch --progress origin +refs/heads/master:refs/heads/master' command failed.
stderr: The system cannot find the path specified.
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
Can you help?
Please sign in to leave a comment.