26.04.2015 Views

Team Development with Visual Studio Team Foundation Server

Team Development with Visual Studio Team Foundation Server

Team Development with Visual Studio Team Foundation Server

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Administration<br />

• How to secure your build server<br />

• How to delete a build<br />

• How to delete a build type<br />

• How to associate a work item <strong>with</strong> a build<br />

How to Secure Your Build <strong>Server</strong><br />

To secure your build server<br />

1. Deploy build services on a separate server, rather than sharing a server <strong>with</strong> the<br />

Microsoft <strong>Visual</strong> <strong>Studio</strong>® 2005 <strong>Team</strong> <strong>Foundation</strong> <strong>Server</strong> (TFS) application-tier or<br />

data-tier.<br />

2. Grant the build process read/write access to the builds directory. Ensure that the<br />

account running the build is able to access this directory.<br />

3. Grant the build process read/write access to the build drop network share. Ensure that<br />

the account running the build is able to access this share.<br />

4. Ensure that the account used to run the team build is a member of the <strong>Team</strong> Project’s<br />

Build Services group.<br />

To improve <strong>Team</strong> <strong>Foundation</strong> <strong>Server</strong> security, you should install the build server on its<br />

own computer rather than on the application tier or data tier. Certain deployment or build<br />

steps may require elevated privileges; for example, creating a virtual directory to deploy a<br />

Web application requires administrative rights on the build server. This means that the<br />

Microsoft Windows® account running the build requires these rights. If the build<br />

computer is on the application tier, then this could present a security risk. Similarly, if the<br />

build computer is on the data tier, the build account could access and change the<br />

databases on that tier.<br />

Note: For security reasons, do not add the account running the team build to the<br />

SERVER\ Service Accounts group. Members of this group have full administration rights<br />

in TFS.<br />

Additional Resources<br />

• For more information about TFS groups and permissions, see “<strong>Team</strong> <strong>Foundation</strong><br />

<strong>Server</strong> Default Groups, Permissions, and Roles” at http://msdn2.microsoft.com/enus/library/ms253077(VS.80).aspx<br />

How to Delete a Build<br />

To delete a build, you use the TFSBuild command-line tool. Specify the address of the<br />

TFS server, the name of the team project, and the build name; for example:<br />

TfsBuild delete http://mytfsserver:8080 myproject build20070606.4<br />

Additional Resources<br />

• For more information about deleting a completed build, see “How to: Delete a<br />

Completed Build” at http://msdn2.microsoft.com/en-us/library/aa337656(VS.80).aspx

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!