Archive

Archive for February 13, 2011

Setup the Permissions of Team Build’s Drop folder


The following post assumes the controllers are deployed on the TFS server and the agents are on the build server as shown in the following picture

It also assumes that the drop folder is on the build machine and is located at C:\Builds\Public Drop Folder\. As a best practice, public drop folders should be on file share server. To learn more about drop folder visit http://msdn.microsoft.com/en-us/library/bb778394.aspx

  • Login to the server where the drop folder will be created
  • Navigate to directory where the drop folder will be created (e.g. C:\Builds\)
  • Create a folder named “Public Drop Folder”
  • Right click on the folder
  • Click Properties

  • Click Advanced Sharing button
  • Check Share this folder
  • On the Advanced Sharing dialog, click Permissions button
  • On the Permissions for Public Drop Folder, click Add button
  • On the Select users, Computers, Service Accounts, or Groups, Click Object Type button
  • Make sure Computers object is Checked
  • Click OK

  • On the Select users, Computers, Service Accounts, or Groups, type the following in the Enter object names to select box TFSSERVERNAME$;Network Service Where TFSSERVERNAME$ (keep the $ character) is the build service account which was created on the TFS machine following Installing Build Controller on TFS Server and Agents on the Build Server. To find out what is the build service account read the How to Find Build Service Account topic. Network Service account is the network service account on the build machine

  • Click Check Names button
  • Click OK
  • On the Permissions for Public Drop Folder, give both user names Full Control access

  • Click OK
  • Click Ok to go back to the Public Drop Folder Properties dialog
  • Click the Security tab
  • Click Edit
  • Click Add
  • Make sure the Computer object type is checked
  • Enter the same accounts you entered when you setup the share (i.e. TFSSERVERNAME$;Network Service)
  • Give Full Control
  • Click OK
  • Click Close button to close the Public Drop folder Properties dialog

  • Now we are ready to create Team Builds
Categories: Team Build, TFS, TFS2010 Tags: , ,