I am using VsTest - testAssemblies task in my release definition to perform integration testing for our app tier code but the release definition fails at the beggining itself, if VsTest - testAssemblies task is used in it.
It gives this error in the summary of the Release definition - "No agent found in pool POCGen-Dev which satisfies the specified demands: Agent.Name -equals CID21 vstest Agent.Version -gtVersion 2.103.0 "
The Release definition works fine if i remove the VsTest - testAssemblies task from it, but when i used\add it in Release definition it fails.
I tried googling but no help!! Can anyone please let me know what should i check or do in this case?
Screenshot of Capabilites of Release Agent
Run on Agent
phase? The error message explicitly point out that the current agent doesn't match the demands. Just try checking your release agent capabilities to verify if the agent have these capabilities :Agent.Name -equals CID21, vstest , Agent.Version -gtVersion 2.103.0
– Andy Li-MSFT-gt
meansgreater than
, so that's not the cause. Are you sure you have thevstest
capability on your release agent? – Andy Li-MSFT