I have inherited a TeamCity project that is not building. I need to figure out why. It used to work fine. I don't beleive anything in the configuration of TeamCity has changed.
TeamCity is installed on our windows server. The build is performed on another SUSE Linux Build Server. The VCS Repository is on yet another SUSE linux GIT server. The build agents on the buiId server and windows server look like they are enabled, authenticated, and all working fine. I believe the problem lies within retriving the code from our GIT VCS server. I figured if I could see the exact commands that TeamCity is using to retrieve the code, that would be a good start.
see attached image.
The error message in red indicates a credential issue -as in wrong password, or something. However, if you look at my VCS configuration (see attached), I don't use a password authentication to retrieve data from my git repository. Everything is authenticated using SSH keys. So this is puzzling. And remember, everything worked before. Nothing in our configuration has changed, I thought if I could manually enter the TeamCity commands from my SUSE linux terminal, then I can see exactly where things got stuck in TeamCity when I try an do a build. Looking at the stack trace of the error, the lines:
org.eclipse.jgit.errors.UnsupportedCredentialItem: ssh://OPTISCAN\\swdeveloper@vmBldsvr:22: Password:
indicate that perhaps something prompted for a password, and didn't get the right one or something. But again, using an SSH authentication key, shouldn't passwords be avoided all together? I wish the error was more speciific, like wrong password, or corrupt or incorrect SSH key. As well, what was the exact command that TeamCity used to produce this error? I see what's entered in the "Fetch URL" field, but that doesn't tell me what is the full command TeamCity is using to retrieve the data from the repository. Note, I have successfully retrieved code manually with my own account on the linux build server using "git clone ssh://...", so our GIT repository seems to be working fine and allowing SSH access to it.
Thanks in advance for any help.