开发者

Change identity of a TFS build agent

开发者 https://www.devze.com 2022-12-18 10:11 出处:网络
We have a TFS build agent that runs integration tests. Some of these tests make calls to web services on the Internet.

We have a TFS build agent that runs integration tests. Some of these tests make calls to web services on the Internet.

Our network 开发者_运维知识库uses a proxy to talk to the Internet.

Since the build agent runs under the identity on Network Service and the settings of Network Service are not configured to use the proxy, the tests fail.

How do I do one of the following?

  • Change the identity of the build agent to a domain account
  • Configure Network Service to use the proxy


To change the identity of the build agent you just go into Windows Services and change the identity of the TFSBuild service (service name is "Visual Studio Team Foundation Build").

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号