Question

I am setting up TeamCity continuous integration. While creating VCS Root, I am getting the error:

Test connection failed in ProjectBuilder :: BuildConfiguration. TF31002: Unable to connect to this Team Foundation Server: https://abc.visualstudio.com/tfs/DefaultCollection/Components.

  1. Already installed Team Explorer on the machine where teamcity server is running.
  2. Trying: To log in to hosted TFS use "ALTERNATE AUTHENTICATION CREDENTIALS" and add "##LIVE##\" prefix to your username (email address). option

Please also let me know what should be the VCS root :URL and root under TFS settings in Team City. Should it be pointed to .sln file?

Was it helpful?

Solution

i got a clue from here: Using TF.exe with Team Foundation Service?

And changed my server Url to: https://abc.visualstudio.com/DefaultCollection. and it worked!!

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top