DCSIMG
How To Configure Build Services To A Specific TFS 2010 Collection - Eran Ruso
Sign in | Join | Help

How To Configure Build Services To A Specific TFS 2010 Collection

פורסם בתאריך Jan 25 2010, 11:04 AM על ידי Eran Ruso | ישנם 9 תגובות

In TFS 2010 we use collections, collections act as different “Servers” that the team can use in order to create separation between different groups of projects.

The build services can service one collection at a time.

In order to change the collection that  the Build Services is servicing do the following:

Step 1: Launch the “Team Foundation Administration Console”

Step 2: Choose the “Team Foundation Build Configuration” menu item

1_console_menue

You can see the collection that is being served at point 1.

Step 3: Stop the build service. (Point 2)

2_configure_build

Sep 4: Click on the build “Properties” option

3_click_properties

Step 5: In the properties window click the “Browse…” button.

4_browse_for_collection

Step 6: To choose the target collection mark it and click the “Connect” button

5_connect_to_a_collection

Step 7: Now that you have all in place start the build service.

Note: Some times it will fail to restart, just retype the Password of the account that runs the build service and try again.

6_Click_Start

At this point you will have the build service up and running, if it is the first time you specify the build services to service this collection you will need top create a controller and an agent.

Step 8: Click the “New Controller”.

7_New_controller

Step 9: Choose a name for the controller and click “OK”.

8_Controller_name

Step 10: Wait until the controller will be ready and add a new Agent

9_add_new_agent

Step 11: Choose a name for the Agent, you can also add tags and set the working folder for the agent, when done click “OK”

10_add_new_agent

Step 12: See that all are in read state in order to start creating builds, you can also add more agents for this controller.

11_done

Now all is done you can go to the collection’s projects and use the build services.

Have Fun!!!

רשימת תגובות

# re: How To Configure Build Services To A Specific TFS 2010 Collection

פורסם בתאריך Monday, May 17, 2010 12:20 PM על ידי gabi  

is it possible to have at the same time two built services? A service can be used only for a collection at a specific time. I have three collections with three projects. Can I have a build service or a build agent for each of my collection?

# re: How To Configure Build Services To A Specific TFS 2010 Collection

פורסם בתאריך Friday, May 21, 2010 11:50 PM על ידי Eran Ruso  

Yes you can.

What you will need to do is just install on more than one computer the build services and direct each to a diferent collection

Eran Ruso

# re: How To Configure Build Services To A Specific TFS 2010 Collection

פורסם בתאריך Friday, May 28, 2010 5:16 PM על ידי gabi  

yes, but on other computers I have installed Visual Studio Ultimate and I can not have both installed so I can install and on my station a build service.

# re: How To Configure Build Services To A Specific TFS 2010 Collection

פורסם בתאריך Tuesday, June 01, 2010 10:36 AM על ידי Eran Ruso  

Gadi,

I don't undestend the problem you are seeing, there is no connection between the installation of the build services and the Visual Studio 2010 Ultimate edition, they can be installed side by side.

Eran Ruso

# re: How To Configure Build Services To A Specific TFS 2010 Collection

פורסם בתאריך Sunday, June 06, 2010 6:39 PM על ידי vjj  

You can configure more than one Build Service on  a single server, see marknic.com/.../MultipleTFS2010BuildControllersOnASingleBuildBox.aspx, and connect them one-to-one to Project Collections

# re: How To Configure Build Services To A Specific TFS 2010 Collection

פורסם בתאריך Wednesday, December 15, 2010 3:14 PM על ידי Sachin Sharma  

Hi,

I installed TFS 2010 on my Laptop for practice purpose. and after that i am going to try build configuration on my local laptop.

I am configured controller and agent to build host service(The Team Foundation Build Service runs a build controller and one or more build agents on a build machine.)

I am getting error.please find the screen shot for same.

and eventlog error is->

Service cannot be started. Microsoft.TeamFoundation.TeamFoundationServerUnauthorizedException: TF30063: You are not authorized to access sachin-pc\DefaultCollection. ---> System.Net.WebException: The remote server returned an error: (401) Unauthorized.

at System.Net.HttpWebRequest.GetResponse()

at Microsoft.TeamFoundation.Client.TeamFoundationClientProxyBase.AsyncWebRequest.ExecRequest(Object obj)

--- End of inner exception stack trace ---

at Microsoft.TeamFoundation.Client.TfsConnection.ThrowAuthorizationException(Exception e)

at Microsoft.TeamFoundation.Client.TfsConnection.UseCredentialsProviderOnFailure(Action action)

at Microsoft.TeamFoundation.Build.Machine.WindowsService.EnsureAuthenticated()

at Microsoft.TeamFoundation.Build.Machine.WindowsService.InternalStart(Boolean noCheck, String namedInstance)

at Microsoft.TeamFoundation.Build.Machine.WindowsService.OnStart(String[] args0)

at System.ServiceProcess.ServiceBase.ServiceQueuedMainCallback(Object state)

# re: How To Configure Build Services To A Specific TFS 2010 Collection

פורסם בתאריך Wednesday, December 22, 2010 10:22 PM על ידי Eran Ruso  

Hi Sachin,

It looks like a permissions issue, check that you have the currect permissions to manage builds.

Have Fun!!!

# טופולוגיות של סביבת בילדים אוטומטיים

פורסם בתאריך Sunday, July 10, 2011 11:36 AM על ידי Eran Ruso  

הרבה פעמים אני נתקל בשאלה של איזה טופולוגיה מתאימה לי כאשר אני מכין את סביבת הבילדים האוטומטיים. לכל

# טופולוגיות של סביבת בילדים אוטומטיים

פורסם בתאריך Sunday, July 10, 2011 2:01 PM על ידי Eran Ruso  

הרבה פעמים אני נתקל בשאלה של איזה טופולוגיה מתאימה לי כאשר אני מכין את סביבת הבילדים האוטומטיים. לכל

שלח תגובה

(שדה חובה) 
(שדה חובה) 
(אופציונלי)
(שדה חובה) 

Enter the numbers above: