在 Azure DevOps 自托管代理上运行管道的多个作业
我遇到了一个错误,我已经为此奋斗了几天,但没有成功。我有一个为 Azure DevOps 和自托管代理编写的多级管道,是否可以针对不同工作区上的不同分支运行多个并发运行?
我的意思是,我已经排队运行:dev、dev2、master 等,并且我想在单独的工作区中为它们运行三个并发运行。
I encountered an error which I was fighting for a few days already, without success. I have a multistage pipeline written for Azure DevOps and Self-Hosted agent, is it possible to run multiple concurrent runs, for different branches on a different workspace?
I mean, I have queued runs for: dev, dev2, master, etc., and I wanna run three concurrent runs in separate workspaces for them.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您需要在构建代理上安装代理的多个实例。一名代理一次仅运行 1 项作业。但是您可以根据需要在同一台服务器上安装任意数量的代理副本,只需将代理解压缩到新文件夹并注册即可。
You need to install multiple instances of the agent on your build agent. One agent only runs 1 job at a time. But you can just install as many copies of the agent on the same server as you want, just extract the agent to a new folder and register it.