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.