TFS中的多个构建代理 [英] Multiple Build Agents in TFS

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

问题描述

在TFS中,我创建了一个构建控制器,我在其中有2个构建和部署代理。我打算在该控制器下配置另外两个代理,用于构建和部署不同的环境。 

In TFS I have created one build controller under which i am having 2 agents for build and deploy. I am planning to configure 2 more agents under that controller for build and deploy for different environment. 

是否可以在同一时间点执行两个代理。

Is it possible to execute both agents at same point of time.

说,ENV1_Agent1->环境1构建和ENV1_Agent2->环境1部署

Say, ENV1_Agent1->Environment 1 Build and ENV1_Agent2-> Environment 1 Deploy

并且说,ENV2_Agent1-> Environment 2 Build和ENV2_Agent2->环境2部署

And say, ENV2_Agent1->Environment 2 Build and ENV2_Agent2-> Environment 2 Deploy

因此可以并行执行ENV1_Agent1和ENV2_Agent1吗? 

Hence is it possible to execute ENV1_Agent1 and ENV2_Agent1 in parallel ? 

此外,如果有可能,那么这样做事情取决于处理器内核?

Additionally, if it is possible then does this thing depend on processor cores ?

提前致谢。 

Thanks in advance. 

推荐答案

可以使用TFS在多个构建代理之间并行构建,但是您需要自定义构建过程模板。你可以从

这篇文章

It's possible to build in parallel across multiple build agents with TFS, but you would need to customize your build process template. You can start from this article.

构建代理对处理器提出了很高的要求。通常,您应该在构建服务器上为每个处理器核心托管不超过一个构建代理。

Build agents place heavy demands on the processor. Typically, you should host no more than one build agent per processor core on the build server.

最好的问候,


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

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