...
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. |
...