- Navigate to the location where the agent has been downloaded and unzipped:
> cd c:\tfs_a1tfs_a1>
- Create a .proxy file with the proxy URL:
echo http://theProxyServer:443 > .proxy
The preceding configuration is sufficient if the proxy doesn't require authentication. This is usually the case if you are using a Windows domain account to run the agent. However, if you are running the agent under the default network credential or the user running the agent is required to authenticate with a proxy, you'll need to perform the following additional steps.
- Provide the proxy credentials to TFS using environment variables. TFS treats these credentials as secrets and then masks the values before passing them into the job output: