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

This widget could not be displayed.

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 Sign up to answer
Community showcase
Posted 10 hours ago in Jira

Atlassian Research Workshop opportunity on Sep. 28th in Austin, TX

We're looking for participants for a workshop at Atlassian! We need Jira admins who have interesting custom workflows, issue views, or boards. Think you have a story to sha...

30 views 1 2
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