Icon

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

Key

  • 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)

Excerpt

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
teamcity.http.proxyHost=123.45.678.9
 
## The optional proxy port, leave blank to use the default port
teamcity.http.proxyPort=1234

## If the proxy requires authentication, specify the login
teamcity.http.proxyLogin=login
 
## If the proxy requires authentication, specify the password
teamcity.http.proxyPassword=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.

...