How can I restrict jobs to specific pools?

I have a set of build jobs grouped by branches. Unfortunately I need to have multiple pools attached to the parent project. But I would still like to have android/ios builds only run on agents in their respective pools. Is there any way to add the agent pool name as an agent parameter?

Please sign in to leave a comment.