It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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

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
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published Thursday in Confluence

Confluence CVEs and common questions

Two vulnerabilities have been published for Confluence Server and Data Center recently: March 20, 2019 CVE-2019-3395 / CVE-2019-3396 April 17, 2019 CVE-2019-3398 The goal of this article is...

129 views 0 10
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