I've configured the 2 build agents with the different version in single Agent pool to suit our developers.
I've configured the Maintenance Job in order to keep disk clean. Everything works properly for Agent 2, but old work files on Agent 1 are not deleted.
From the log:
No agent found in pool DX which satisfies the specified demands: Agent.Name -equals "Agent 1 name" Agent.Version -gtVersion 2.114.0
It looks like the maintenance job will clean the work folders of an agent that are the same version. Does anyone have any idea how to proceed? Or is there any problem with our configuration?
Further details:
- Agent 1 Version 1.105.6
- Agent 2 Version 2.117.2
- TFS Version 15.117.26714.0