You must be a member of the Windows Administrators group on the build server, and a member of the Project Collection Build Administrators group on your team project collection. See Team Foundation Server Permissions.

If your build is running, stuck at some part of the process, or completed, then you can get more information about the problems in the build results window. Choose View Log to display more detailed information:

Choose Next Error or Next Warning to skip directly to problems in the build.

Wherever you see instances of an MSBuild Log File link, choose it to get more detailed information about events that occurred when the MSBuild activity compiled your code and performed other tasks.

You can copy information and, if you want, share it with people who can help you resolve the problems. Select specific passages in the log or open a shortcut menu from anywhere in the log and then choose Select All. You can then open a shortcut menu and choose Copy to copy the text to the clipboard.

When you use the Hosted Build Controller, we recommend that you select Copy build output to the server for the staging location. In this case, the diagnostic logs are stored in TFS and you can view them and download them from your web browser.

In the build results window, choose Actions, Open in Browser, and then in the build results in the web browser, choose diagnostics. You can then choose View logs to open a menu from which you can choose the log you want to view, or to download all the logs in a .zip file.

While the build definition is paused, to test your fixes to the build process, select a queued build, open its shortcut menu, and choose Start Now.

If you think one of your build system components might be the cause of one of the problems, you can start, stop, or restart a build server or enable or disable a controller or agent as needed. See Manage Your Build System.

Frequently, while attempting to fix build process problems, you need to queue a build with the same options repeatedly to test various fixes. You can quickly retry a build: