Installing TFS Build 2010 on a non-domain-joined machine

Scenario

You want to install and run TFS Build Controller and Agent on a separate network/domain than your Team Foundation Server 2010.

Disclaimer:
According to Ruiz from the MSDN Subscriber Support in Forum this is not officially supported.

How to solve:

  1. Install Team Foundation Build 2010 from TFS media.
     
  2. Apply latest updates (e.g. Service Pack 1, Cumulative Update 1).
     
  3. Create user account (both locally on the Build server as well as your TFS AT) as the service account for Team Build (e.g. TFSBUILD)
     
  4. On TFS, add service account TFSBUILD to Project Collection Build Service Accounts security group (on the collection-level)
     
    TFSBuildWithoutDomain0
     
  5. Configure the Build Server: when asked leave the "team project collection" field blank.
       
    TFSBuildWithoutDomain1
     
  6. Choose any system account for now.
     
    TFSBuildWithoutDomain2
     
  7. After configuration has completed, open the Build Service properties and set the service account to your local account (e.g. ".\TFSBUILD")
     
  8. Done. You can now start the Build Service, define a Build Controller and Build Agents.
     

More Information:

(Thanks to Wes MacDonald and Etienne Tremblay to guide me through this.)

Additional note from Wes:
The other thing I should mention is we had to have the build agent hostname defined in the HOSTS file on the TFS Application Tier and the TFS Server hostname defined in the Build Agent HOSTS file. This assumes the DNS is not configured with the entries.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>