How to specify a build agent in vNext build

前端 未结 2 732
暖寄归人
暖寄归人 2020-12-12 02:18

I have a vNext build definition, which has a agent pool specified. This agent pool has more then one agent. I want to specify say agent number 2 to be used by this build de

相关标签:
2条回答
  • 2020-12-12 02:39

    You can add a User Capability to that specific build agent then in the build definition you put that capability as a demand (General tab)

    0 讨论(0)
  • 2020-12-12 02:40

    Now you can use Agent.Name or Agent.ComputerName demands in build def or when queuing a build:

    Reference: https://blogs.msdn.microsoft.com/ericparvin/2017/02/08/how-to-send-tfs-build-to-a-specific-agent-or-server/

    0 讨论(0)
提交回复
热议问题