You are viewing the documentation of TeamCity 10.x and 2017.x, which is not the most recently released version of TeamCity.
View this page in the latest documentation or refer to the listing to choose the documentation corresponding to your TeamCity version.


Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.


This section covers the configuration of a proxy server for TeamCity agent-to-server connections (since TeamCity 2017.1)


On the TeamCity agent side, specify the poroxy proxy to connect to TeamCity server using the following properties in the buildAgent.properties file:

Code Block
## The URL or the IP address of the proxy host
## The optional proxy port, leave blank to use the default port

## If the proxy requires authentication, specify the login
## If the proxy requires authentication, specify the password

Note that the proxy has to be configured not to cache any TeamCity server responses; e.g. if you use Squid, add "cache deny all" line to the squid.conf file.