How do I setup a build agent and restrict its use to one teams project?
How to I setup a build agent and restrict its use in TFS 2017?
149 views Asked by Bill Greer At
1
How do I setup a build agent and restrict its use to one teams project?
Sorry, there is no way to directly restrict the agent use in a specific team project. The agent is based on the agent pool. Suggest you take a look at some more background about what they do and how they work especially the part of communication with TFS.
But you could do this in turn, restrict the team project build definitions only use the build agent. And the build definition is just team project level.
Also take a look at this similar question: Cannot add queue to existing TFS 2015 Build agent pool
If you want to restrict the agent to one team, you could set the permissions for a build definition to only allow a specific/team group to queue the build.