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

Disabling local agents in a stage


I have three local agents, so within a stage they are running simultaneously. Is there any possibility to configure a stage/job/executable to use only one local agent?

Greetings, Magda

3 answers

1 accepted

0 votes
Answer accepted


By design, if you have multiple Bamboo Agents, then Jobs can run across any of them. The way the Stages and Jobs work are that say you have a Stage1 containg Job1, Job2, and Job3. Assuming you have 3 agents, then Job1, Job2, and Job3 can run at the same time, since by design all jobs inside a single stage can run simultaneously. Stages execute sequentially, so if you only want one agent executing at a time, move each job to a separate stage.

If you want to tie all the jobs in a single stage to a specific Agent, then for that agent define a custom capability for the agent (go to Admin > Agents > click the agent, click Add Capability) such as "agent-id" with a value of "01" of any other key=value definition. Then in each Job, go to the Requirements tab and you can add the "agent-id"="01" as a Requirements to EACH JOB, that way even though you may have 3 local agents available to run Job1, Job2, Job3 in parallel if they are all in STage1, they cannot run in parallel since only agent 1 has the custom capability.

Thanks, it works!

0 votes
Thomas Schlegel Community Leader Jul 10, 2012

maybe you should give us a little bit more information. Which Atlassian application ? Jira ? What do you mean with agent ? Customers ? Users ? What do you mean with stage ? At least you should mention the application with a label.

Bamboo 4.1.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Off-topic

Atlassian Community Guide to A+ Articles

Stop: Articles and permission Article-writing permissions are given to Leaders, Marketplace Vendors, Solutions Partners, Atlassian Team members, and those who are Level 4 + above. But for any aspir...

73 views 8 7
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you