Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
559 views
in Technique[技术] by (71.8m points)

tfs - How to specify a build agent in vNext build

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 definition. How can I make sure that for a particular build definition a specific build Agent is used to run the build?

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

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)


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...