没有YAML的情况下如何在代理池下使用特定的私有代理? [英] How to use specific private agent under agent pool without YAML?

查看:44
本文介绍了没有YAML的情况下如何在代理池下使用特定的私有代理?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在代理程序池下设置了2个私有代理程序,但是当我运行管道时,我希望一个特定的代理程序运行管道,但是没有发生.

如何选择或在何处选择特定代理以使用YAML配置运行管道.

解决方案

您需要使用所需的代理商名称指定需求.您在池名称后的Yaml中输入需求:

 池:名称:私人要求:Agent.Name-等于测试 

更多信息,您可以在

或每项工作:

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.

解决方案

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:

这篇关于没有YAML的情况下如何在代理池下使用特定的私有代理?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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