Configure Team Foundation Build Service to Use Team Foundation Server Proxy
You can configure Team Foundation Build Service to retrieve files from Team Foundation Server Proxy by modifying a registry entry on the server that is running Team Foundation Build Service. If you modify this entry, Team Foundation Build Service at the remote site can work with version control from the proxy's cache.
If you improperly modify your computer's registry, you can cause your computer to become unstable. If you are not familiar with the registry, you should not modify it in any way.
To complete this procedure, you must be a member of the Administrators group on the server that is running Team Foundation Build Service.
To configure Team Foundation Build Service to Use Team Foundation Server Proxy
On the server that is running Team Foundation Build Service, click Start, click Run, type regedit, and then click OK.
In the browser pane, expand HKEY_CURRENT USER to HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\12.0\TeamFoundation\SourceControl\Proxy.
In the details pane, set Enabled to True, and then set URL to http://ProxyServer:Port.
ProxyServer is the name of the proxy server that you want Team Foundation Build Service to use, and Port is the number of the port on which the proxy server is listening for requests. (By default, this number is 8081.)
On the File menu, click Exit to close Registry Editor.
Team Foundation Build will now use the proxy server that you specified.