How do I dedicate an agent to a branch?

This question is in reference to Atlassian Documentation: Dedicating an agent

I would like to have agents that are running different versions of XCode, and have branches that would be built against a specified agent. How do I go about selecting a specific agent for any given branch?

1 answer

0 votes

Create separate plans for those branches and add a requirement with a custom capability, that is available only on that agent.

Would that work?

Jobin - That had come to mind as an option since capabilities can be set at the job level, but we also use auto-merging of branches, so they all need to be in the same plan. 

At the branch level, it seems like only variables are customizable. Do you know if there is any way to have the capability be based off the value of a variable?

I haven't tried that yet. Not an option I would think but I could be wrong.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Tuesday in Statuspage

Introducing Statuspage Getting Started guides! First up: What is Statuspage?

Over the next several weeks we'll be sharing some of our Getting Started guides here in the community. Throughout this series of posts, we'd love to hear from customers and non-customers ab...

191 views 4 1
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you