Issue with Git

Hello, I am running TeamCity 7.1.3 on Windows

When trying to pull from an internal git server, we are getting the error:

jetbrains.buildServer.vcs.VcsException: List remote refs failed: java.io.IOException: /usr/bin/bash: git-upload-pack: command not found

at jetbrains.buildServer.buildTriggers.vcs.git.OperationContext.wrapException(OperationContext.java:134).


The path on the server is not /user/bin/bash, we have updated in the path and gitconfig for the system (and it is recognized).  I have been told to use the -u option (e.g: git clone -u /home/you/bin/git-upload-pack)
but I don't see a way to specify this option for TeamCity.

Does anybody have any suggestions?


Thank you!

Please sign in to leave a comment.