Visual Studio Online does not queue in my private agent pool and defaults to the Hosted pool instead
I have a private build agent installed on my local machine in a Linux container, running against an agent pool, "MyBuildPool", on VSTS/Visual Studio Online.
The agent is online (up and running) on VSTS web portal (SUCCESS!)
When I queue a build, I select my build pool "MyBuildPool".
For diagnostic purposes, I have a demand in place to find the Agent.Name (which is the hash of the container i.e. c5f5044d043a) (Note: If I remove the demand, I get the same incorrect behaviour)
VSTS insists upon queueing my build on the Hosted pool! (FAIL!)
Any ideas?
Many Thanks
No agent found in pool **Hosted** which satisfies the specified demands:
Agent.Name -equals c5f5044d043a
Agent.Version -gtVersion 2.115.0