简体   繁体   English

TFS 中的构建控制器和构建代理是什么?

[英]What are the Build controller and Build agent in TFS?

I want to know the definition of the Build controller and Build Agent on TFS with an explanation;我想知道TFS上Build控制器和Build Agent的定义,并附说明; how they work, and what their uses are.它们是如何工作的,它们的用途是什么。

Build Controller (Source MSDN )构建控制器(源MSDN

To use Team Foundation Build, your team must have at least one build controller to perform lightweight tasks and distribute the processor-intensive work of your build process to its pool of build agents.要使用 Team Foundation Build,您的团队必须至少有一个构建控制器来执行轻量级任务并将构建过程的处理器密集型工作分配到其构建代理池。

Build Agent (Source MSDN )构建代理(源MSDN

To use Team Foundation Build, your team must have at least one build agent to perform the processor-intensive work of your build process.要使用 Team Foundation Build,您的团队必须至少有一个构建代理来执行构建过程中处理器密集型的工作。

Those pages cover most of it in detail, but a TLDR Version is:这些页面详细介绍了大部分内容,但 TLDR 版本是:

The controller orchestrates build agents.控制器编排构建代理。 Agents run the build.代理运行构建。 If you want multiple builds to run at the same time, add more agents (on the same or different machines).如果您希望多个构建同时运行,请添加更多代理(在相同或不同的机器上)。

You don't normally need more than one controller, unless you have more than one Team Project Collection, or a real load of builds / agents.您通常不需要多个控制器,除非您有多个团队项目集合,或者真正的构建/代理负载。 We happily run 24 agents and 1 controller on the same box.我们很高兴在同一个盒子上运行 24 个代理和 1 个控制器。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM