I have two kinds of agents, one with queue=a, one with queue=b.
I have some steps I only want to run on a agents and some that I want to run on either a or b agents.
Is it possible to configure two queues when specifying the agent selector on a pipeline step?
Note: We have more than these two queues so I can not just use “*”
I handled this scenario by looking at it from the other direction - tie agents rather than steps to multiple queues.
E.g. you have steps for building vanilla iOS apps and steps for building React Native apps on iOS. All your build servers can build iOS apps, but only some can build for React Native on iOS.
You then have agent config like:
Server type A (iOS only):
tags="queue=build-ios"
Server type B (iOS or React Native):
tags="queue=build-ios,queue=build-react-native"
Then you tie your steps to whatever they are doing, either build-ios or build-react-native.