Change identity of a TFS build agent

喜夏-厌秋 提交于 2020-05-12 11:47:07

问题


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

回答1:


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



来源:https://stackoverflow.com/questions/2171927/change-identity-of-a-tfs-build-agent

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!