Saturday, 15 May 2010

tfs - Connect TeamCity to Visual Studio Online -



tfs - Connect TeamCity to Visual Studio Online -

i'm trying migrate on-premises tfs visual studio online. have quite elaborate teamcity build process don't want migrate away from, having teamcity working vso ideal.

i've created alternative user credentials (as per this article) , using these credentials in teamcity. when create new vcs in teamcity, connection error:

tf30063: not authorized access https://myproject.visualstudio.com/defaultcollection/myproject

i've tried actual credentials (not alternative ones) nil changed - same error.

also i've tried using alternative credentials tf command line tool , not come in alternative credentials - window popped up, asking me liveid.

any thought how prepare this?

p.s. how teamcity configuration like:

to connect visual studio online indeed need enable alternate credentials on business relationship you'll utilize team city. ensure @ to the lowest degree team explorer 2012 , update 4 installed on team city server, install whole visual studio 2012 incl update 4. team city requires @ to the lowest degree update 2, microsoft supports visual studio 2012 rtm , latest update (which update 4).

then in connection screen utilize next information:

repository url: https://myaccount.visualstudio.com/defaultcollection

username: ##liveid##\your.email@live.com // visual studio online user name, must match liveid.

password: ***** // password setup alternate credentials.

you can use vso service business relationship credentials instead of using alternate credentials.

then in vcs root configuration map tfvc root in next way:

root: $/myproject/path/to/branch/root

check out post on jetbrains confluence site more details.

tfs visual-studio-online teamcity-8.0 tfvc

No comments:

Post a Comment