Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I configure proxy settings for TeamCity?

We have a TeamCity server sitting behind a cooperate proxy. We use several of the Castle open source libraries. I want to set up CI builds for the Castle stack internally, so that I can create dependent builds for our core shared libs. Everything was going well, until I tried to find proxy settings for TeamCity. Google-ing around has turned up nothing.

Can anyone point me in the right direction?

like image 594
NotMyself Avatar asked Nov 15 '22 08:11

NotMyself


1 Answers

If you want to configure a proxy for svn access from your TeamCity server then this is probably easiest done by configuring a svn proxy as usual for the user account that makes the svn fetches. I know CruiseControl.NET better than TeamCity but for CC.NET it's the account that's the main service runs as.

You'll find this at one of

  • C:\Users\AccountName\AppData\Roaming\Subversion\servers on Vista/7/2008 (domain account)
  • C:\Windows\ServiceProfiles\LocalService\AppData\Roaming\Subversion\servers on Vista/7/2008 (service account)
  • C:\Documents and Settings\AccountName\Application Data\Subversion\servers on XP/2003

You'll probably want to set up the proxy in the [global] section at the bottom of the file - uncomment and fill in at least the http-proxy-host and http-proxy-port lines.

like image 123
Rup Avatar answered Dec 26 '22 02:12

Rup