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 computer that is running a controller for Team Foundation Build Service and also has the client for Team Foundation Server Proxy installed on it, choose Start, choose Run, type regedit, and then choose OK.
In the browser pane, expand HKEY_CURRENT USER to HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\12.0\TeamFoundation\SourceControl\Proxy.
If you do not see this path, you have not installed the proxy client on this computer. See How to: Configure Team Foundation Server Proxy Using the Team Foundation Server Configuration Tool.
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, choose Exit to close Registry Editor.
Team Foundation Build will now use the proxy server that you specified.