Multiple Image Configuration and image max instance limit

Hi Atlassian,

We are having a specific requirement:

  1. Have 3+ instances of Normal linux image.
  2. Have at most 2 instances of linux image configured to run long running selenium tests.

We have created default image first, cloned its capabilities and added custom capability to run selenium tests.

But it came into observation that when there are more jobs that require the selenium capability, a new instance of the Selenium image is being started and the job is running on that instance.


This is creating problems as most of the selenium stages take unto 40 mins to complete and the smaller jobs (< 5 mins and most take 15 secs) which are intended to run on the normal image are being queued. 


Is there any way I can set the maximum number of instances of a particular image that can be running at any time?

1 answer

1 accepted

1 vote

No, it's not possible, sorry. As a workaround What if you added a requirement to your smaller jobs that wouldn't be fulfilled by the Selenium images?

Yeah but that just stops the smaller jobs from running on the Selenium image. But what if 3-4 selenium required jobs are in the queue but I do not want to fire new selenium instances instead they should just remain in queue till the selenium instance is free. Is there a way to do this?

A reasonable requirement, but it's not possible, sorry.

Can it be done using some scripts? In the instance startup script we could poll to get number of instances of this image etc?

Instances startup script is run after the instance is started.

Is there an enhancement request for this?

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
Published May 18, 2017 in Bamboo

FAQ: How to Upgrade Bamboo Server

Bamboo 5.9 will no longer be supported after June 12, 2017. What does this mean? As part of our End of Life policy, Atlassian supports major versions for two years after the first major iteratio...

1,828 views 0 6
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