visual-studio 在 Team Foundation Server 中,什么是构建代理和控制器?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/3891530/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
In Team foundation server what is build agent and controller?
提问by pointlesspolitics
I am unable to grasp the concept of build server in Team foundation. Can anybody explain ? Also what is the build agent and controller in the foundation server ?
我无法掌握 Team Foundation 中构建服务器的概念。有人可以解释一下吗?基础服务器中的构建代理和控制器是什么?
回答by Taylor Bird
In TFS, the build system consists of two main constructs: the Build controllerand the Build agents.
在 TFS 中,构建系统由两个主要结构组成:构建控制器和构建代理。
The Controller's job is to queue build requests and send them to the "most available" build agent. The Agent's job is to perform the actual build.
控制器的工作是对构建请求进行排队并将它们发送到“最可用”的构建代理。代理的工作是执行实际的构建。
This setup allows you to easy grow into a "Build Farm", which the controller is dispatching to any number of agents, allowing your build platform to scale without being redesigned.
此设置使您可以轻松成长为“构建农场”,控制器将其分派给任意数量的代理,从而使您的构建平台无需重新设计即可扩展。
The phrase "build server" or "build machine" simply indicates a server on which the build controller, the build agent(S), or both run. In a smaller shop, you'd probably only have one build machine and it's likely that box would also be doing some other actions.
短语“构建服务器”或“构建机器”仅表示构建控制器、构建代理或两者都在其上运行的服务器。在较小的商店中,您可能只有一台构建机器,并且该盒子可能还会执行其他一些操作。
The MSDN info is pretty good on this, as are any # of blogs.
MSDN 信息在这方面非常好,任何 # 博客也是如此。
MSDN: Build Machines http://msdn.microsoft.com/en-us/library/ms181712.aspx
MSDN:构建机器 http://msdn.microsoft.com/en-us/library/ms181712.aspx
MSDN Build Controllers http://msdn.microsoft.com/en-us/library/ee330987.aspx
MSDN 构建控制器 http://msdn.microsoft.com/en-us/library/ee330987.aspx
MSDN Build Agents http://msdn.microsoft.com/en-us/library/bb399135.aspx
MSDN 构建代理 http://msdn.microsoft.com/en-us/library/bb399135.aspx

