VSTS构建代理-一台计算机可以运行多个构建代理吗? [英] VSTS build agents - Can one computer run multiple build agents?

查看:78
本文介绍了VSTS构建代理-一台计算机可以运行多个构建代理吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个承载VSTS构建代理的Windows VM.由于正在运行的构建的数量和长度,我想知道是否可以在一台计算机上托管多个构建代理?这样一来,便可以使用专门的代理进行缓慢的构建,而使用专门的代理进行快速构建.

I have a Windows VM that hosts a VSTS build agent. Due to the number and length of builds that are running I would like to know whether multiple build agents can be hosted on one computer? That would allow a dedicated agent for slow builds, and a dedicated agent for quick builds.

https://www.visualstudio.com/zh-cn/docs/build/admin/agents/v2-windows

推荐答案

是的,您可以在单个VM中运行多个代理.

Yes you can run multiple agents in a single VM.

使两个目录分别为Agent1和Agent2,分别提取其中的一个agent,并根据您的VSTS/TFS帐户为它们配置不同的名称.

Make two directories say Agent1 and Agent2, extract the agent in each one of them and configure them with different names against your VSTS/TFS account.

它应该开箱即用.

这篇关于VSTS构建代理-一台计算机可以运行多个构建代理吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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