Disabling local agents in a stage

Hi,

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

Magi,

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 vote
Thomas Schlegel Community Champion 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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Tuesday in Uncategorized

Friday fun: how many celebrates Midsummer holiday or is this a Swedish tradition only?

Any other country that celebrates Midsummer holiday (this friday 22 June)?  

44 views 3 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