I'm looking if I can specify a list of agents in Agent pool demands? In UI azure pipeline has only two options equals and exists. So, I tried adding two demands but pipeline takes only first demand
The same in yaml is as follows,
pool:
name: AWS Pool
demands:
- Agent.Name -equals simLin02
- Agent.Name -equals ubuAgent01
I would like to know if there is any logical way of specifying the list of agent machines in yaml like following or any other alternatives where I can pass a list of agent names(specific agent names because not all agents in the pool have desired capability) for the pipeline to choose from.
pool:
name: AWS Pool
demands:
- Agent.Name -in (simLin02, ubuAgent01)