Click here to Skip to main content
Click here to Skip to main content

How to set up a build server for your TFS Hosting account

, 17 Sep 2012
Rate this:
Please Sign up or sign in to vote.
In this article, I will share with you on how to set up a build server for your TFS Hosting account.

Assume you have already signed up for a TFS hosting account. If not, you can go to TFS Hosting Sign Up to get one. Now let's follow the steps below to set up a build server for your TFS hosting account. 

1. Install TFS Build Service.

Download and run Visual Studio team foundation server 2010 Setup. Since Dynamsoft has already set up the server side for you, you only need to choose the “Team Foundation Build Service” option. Then Click Install to install the service.

Team Foundation Setup

2. Start Build Service Configuration and click Next.

build service welcome

3. Project Collection

Then you’ll be guided to Project Collection to configure your Team Foundation Server info. Before configuring the connections, please add “72.15.153.156 TFSServer1″ to the hosts file on your build machine (under C:\Windows\System32\drivers\etc\). 72.15.153.156 is the IP address of TFS server.

Then let’s go back to Project Collection. Click Browse… to select your team project collection. Since you haven’t connected to any TFS Server before, you can click Add in the “Add/Remove Team Foundation Server” dialog box to add a new one.

Name or URL of Team Foundation Server: tfsserver1
Path: tfs
Port number: 8080

After clicking OK, choose your team project collection. In this sample, we choose 105012.

4. Credential Settings

In the Run Team Foundation Build Service as section, choose “Use a user account” and enter the account name and password.

Please note that the account will be used to run the build service and connect to the Team Foundation Server, so please make sure:

a)      The account has the permission to run the build service. Usually you can choose the login user. In this case, I choose 105012_build.

b)      The same account exists on the TFS server. To double confirm this, you can log into your web portal and navigate to “TFS Hosted -> User Management”. If the user 105012_build is not there, you can click Create User to add the user. Please note that the password for the user should be the same on both machines.

c)        105012_build is in the “Project Collection Build Service Accounts” group. In Visual Studio, navigate to “Team -> Team Project Collection Settings -> Group Membership”. You can then choose “Project Collection Build Service Accounts” and click Properties to check the members. If the user is not in the list, please check out Can I add a Windows user to my TFS account for information on how to add.

For the port number, I choose the default one 9191. Please make sure it is not blocked by the firewall or any antivirus software on your build server.

5. Update Local Build Service Endpoint (incoming)

First, you need to stop the build service. To do this, you can open “Team Foundation Server Administrator Console” and click Stop in Build Configuration.

Then, click on Properties to change the value of Local Build Service Endpoint (incoming) from the machine name to your public network IP.

Note: please make sure that your firewall allows Microsoft Visual Studio Team Foundation Build Services to run both privately and publicly.

Done. Now you can get started to use your Build Server. If you have any questions or comments, please add them below or contact me at kgao@dynamsoft.com.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

About the Author

Windy Liu

United States United States
No Biography provided

Comments and Discussions

 
SuggestionFormat issue PinmemberSandip.Nascar15-Sep-12 10:49 
GeneralRe: Format issue PinmemberWindy Liu16-Sep-12 15:51 
GeneralRe: Format issue PinmemberSandip.Nascar16-Sep-12 16:20 
GeneralRe: Format issue PinmemberWindy Liu16-Sep-12 19:33 
GeneralRe: Format issue PinmemberSandip.Nascar16-Sep-12 20:22 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

| Advertise | Privacy | Mobile
Web01 | 2.8.140721.1 | Last Updated 17 Sep 2012
Article Copyright 2012 by Windy Liu
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid