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.

https://confluence.atlassian.com/bamboo/configuring-a-job-s-requirements-289277064.html

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 Join to answer
Community showcase
Renan Battaglin
Published May 18, 2017 in Bamboo

FAQ: How to Upgrade Bamboo Server

Bamboo 5.9 will no longer be supported after June 12, 2017. What does this mean? As part of our End of Life policy, Atlassian supports major versions for two years after the first major iteratio...

1,076 views 0 5
Read article

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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot