更改TFS构建代理的身份 [英] Change identity of a TFS build agent

查看:210
本文介绍了更改TFS构建代理的身份的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们有一个运行集成测试的TFS构建代理.其中一些测试会调用Internet上的Web服务.

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

我们的网络使用代理与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?

  • 将构建代理的身份更改为域帐户
  • 配置网络服务以使用代理

推荐答案

要更改构建代理的身份,只需进入Windows服务并更改TFSBuild服务的身份(服务名称为"Visual Studio Team Foundation Build"). ).

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

这篇关于更改TFS构建代理的身份的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆