Exclude capabilities from Agent



I would like to know if there is a way for an agent to hide / blacklist capabilities from the master, or prevent the detection of such capabilities?

For example, we have over 1000 project that are java projects, so those will run on any agent with Java installed.

I want to add an agent that is dedicated to a specific pipeline, and I don't want to have java project run on that agent.


I could exclude that agent, but that would mean editing all existing project and all new java project.  Not something easy and which is error prone.

Or have a way to tell the agent (or the master) to ignore the installed java (I cannot uninstall Java as it is required by the agent) or any other capabilities.



Philippe Busque


1 comment

It sounds like your objective is to have an agent dedicated to your specific pipeline or build chain. I'm not sure about excluding the capabilities, but you can dedicate your agent to your specific Project by creating and assigning it to an Agent Pool. https://www.jetbrains.com/help/teamcity/agent-pools.html#AgentPools-Concept

You would basically create a new pool with only the single agent, then add the Project to the Agent Pool. Would that work for you in this case?


Please sign in to leave a comment.