Friday, July 25, 2014

Configuring Jetbrains TeamCity with Visual Studio Online

If you are using Jetbrains TeamCity as your Continuous Integration Build Server, it has supported Team Foundation Server for several years.

However, because of the way in which Visual Studio Online authenticates by default, you cannot directly integrate Visual Studio Online as a VCS with Jetbrains TeamCity.

Fortunately, you can set up Visual Studio Online to work with Jetbrains TeamCity by making a few minor configuration changes.

First of all, you will need to set up alternate credentials for the Visual Studio Online account that will be used to run builds as described here: http://www.visualstudio.com/en-us/news/2012-aug-27-vso


You can access the Alternate Credentials Dialog by going into My Profile under your user name or the particular build user account.

Once you have that set up, you can now proceed to configure your VCS setting to Team Foundation Server.  However, when you enter the user name credentials, you will now need to specify your Alternate Credentials in the following format: ##LIVE##\username, therefore, your screen should look something like the following:



You can then test your connection to make sure it is working properly.  If so, you should be all set to run your builds from Visual Studio Online using Jetbrains TeamCity!!

No comments:

Post a Comment