I have installed TFS 2015 Update 3. And created an agent pool called "HYB Pool". This agent pool has 2 agents in it. One is a Linux agent and other one is a windows agent. The reason it was created this way was because "building the code" step is using windows agent and post build steps (using docker to build and push images) is using Linux agent.
When I execute only build step in HYB Pool it works fine. And again when I execute only post build step (which requires linux agent) with HYB Pool, it works well. But when I combine all the steps together and execute it in HYB Pool then it throws following error:
No agent found in pool 6 which satisfies the specified demands:
- sh
- DotNetFramework
- Agent.Version > Version 1.94.0
How do I fix this? Looks like agents have capabilities but when the whole process is combined (build and docker step) it is giving out error.
Agent version for
- linux agent is 2.104.1
- windows agent is 1.95.3