Connecting to Azure DevOps
Hi There,
We currently moving from Azure DevOps on-prem to Azure DevOps and we testing TeamCity and getting the following error below
08:59:16 Build failure condition: TeamCity cannot connect to GIT. Check that the agent has the proper credentials added on the agent.
08:59:16 Build failure condition cause message: Logon failed, use ctrl+c to cancel basic credential prompt. Show original message
08:59:17 Build finished
08:59:16 Build failure condition cause message: Logon failed, use ctrl+c to cancel basic credential prompt. Show original message
08:59:17 Build finished
This is our version of TeamCity
TeamCity 2022.10 (build 116751), effective release date 2022-10-27, currently running in the professional mode.
We've amended the VCS Roots and this successfully connects to Azure DevOps but TeamCity cannot connect to GIT.
Any recommendations would be greatly appreciated.
Cheers,
Guy
Please sign in to leave a comment.
Could you please provide the entire build log downloaded from the UI? You can upload it here: https://uploads.jetbrains.com/. Let me know the upload ID once done.
You can also try to manually log onto the agent's machine and attempt to clone the repository in question manually. This looks like a connectivity issue.
I am having a similar problem. I can connect to Azure DevOps using SSH but then git fetch fails. I get a different error when I try the standard user name and password HTTPS connection which I think is due to TLS 1.2 but am not sure how to get past that.