Is there a way to create dedicated agents for bamboo on the fly?

Currently our build setup involves the following steps:

- Whenever a build gets triggered, we spin up a docker container with a bamboo agent with custom requirements (Java, maven...)

- Our plan has a custom requirement, e.g REQUIREMENT=xyz, this same requirement is on the docker agent as a capability, effectively matching the agent to this plan.

 

But we still get some problems when more than 1 build on the same plan, or on the same plan but different branches get executed, since when the first build finishes it will shut down the remote agent (who is now also executing the second build).

Is there a way to set the requirements for a job in a dynamic way, or is there a way to assign an agent to an specific job/task execution result?

 

 

Thanks in advance!

0 answers

Suggest an answer

Log in or Sign up to answer
Community showcase
Asked Dec 06, 2018 in Jira Ops

I'm John Allspaw, Ask Me Anything about incident analysis and postmortems

I'm John Allspaw, co-founder of   Adaptive Capacity Labs, where we help teams use their incidents to learn and improve. We bring research-driven methods and approaches to drive effective inciden...

5,560 views 22 17
View question

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