How to use specific private agent under agent pool without YAML?

半世苍凉 提交于 2021-02-07 13:20:13

问题


I have setup 2 private agents under agent pool but when I run the pipeline I want a specific agent to run the pipeline but its not happening.

How to select or where to select specific agent to run the pipeline with YAML configuration.


回答1:


You need to specify a demand with your agent name you want. you enter the demand in the yaml after the pool name:

pool:
   name: Private
   demands: Agent.Name -equals Test

More info you can find here.

Without YAML the demands exist under the Options tab:

Or per job:



来源:https://stackoverflow.com/questions/58687425/how-to-use-specific-private-agent-under-agent-pool-without-yaml

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!