Welcome to MSDN Blogs Sign in | Join | Help

Configuring the build to use the version control proxy

If you have a version control proxy at a remote site and you wish to have Team Build use the version control proxy, you'll need to modify the registry of the account that's running the build service on the build computer.  Here's what you'll need to put into the registry.  You'll need to change "someproxy" to your proxy's name.  Also, if you need to do this with Orcas, you'll need to change 8.0 to 9.0 for this to have the desired effect.

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\8.0\TeamFoundation\SourceControl\Proxy]

"Enabled"="True"

"Url"="http://someproxy:8081"

The client code that reads the registry to get the proxy setting does not look at HKLM.  It only reads from HKCU.

tags: , , ,

Published Wednesday, March 07, 2007 11:26 PM by buckh

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Comments

# re: Configuring the build to use the version control proxy

Why not use the TFSPROXY environment variable as pointed out by Martin Woodward?

There is currently no option with the Microsoft command line to pass a version control proxy server in to TF.exe.  It will pick one up if you have one set in the registry if you have used the Team Explorer GUI - but that isn't great for scripted scenarios.  James Manning recently pointed me in the direction of an undocumented environment variable called TFSPROXY.  If set, the TFS client will use that setting to proxy your requests.  Therefore the following will call tf.exe passing a proxy server to use in your connection:-

http://www.woodwardweb.com/tfs_top_tip/000318.html

Thursday, March 08, 2007 3:57 PM by KE

# re: Configuring the build to use the version control proxy

You could, so long as you set it globally.  Otherwise, it wouldn't be any different than setting the value in HKCU.

Buck

Thursday, March 08, 2007 11:15 PM by buckh

# VSTS Links - 03/09/2007

Martin Woodward on Teamprise Joins Eclipse Foundation. The Teams WIT Tools Blog on Creating custom...

Friday, March 09, 2007 11:39 AM by Team System News

# TFS 2008: Build agent configuration options

While some of the build agent properties are available in the VS GUI, buried in the tfsbuildservice.exe.config

Friday, July 20, 2007 10:03 PM by Buck Hodges

# TFS 2008: Build agent configuration options

While some of the build agent properties are available in the VS GUI, buried in the tfsbuildservice.exe

Friday, July 20, 2007 10:11 PM by Noticias externas

# Speed up your Team Builds

Over the past few years, a few of my clients have deployed Team Foundation Server Proxy to improve the

Wednesday, August 01, 2007 3:44 PM by Richard Hundhausen: The DBAgilist

# Improving Build Performance in TFS 2008

There are a number of things you can do to improve build performance in TFS 2008: Reduce the scope of

Tuesday, February 10, 2009 5:54 PM by Jim Lamb

Leave a Comment

(required) 
required 
(required) 
 
Page view tracker