Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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

Set an Elastic Image as the "default" image for Bamboo

We've run into an interesting conundrum with using Elastic Agents. We have two elastic images, one Linux, one Windows.  Both images have a base set of capabilities in common (Maven versions, JDK and a few others).  The issue we're having is that, if a plan defines a set of requirements that are only filled by the base capabilities (say only needs Maven) Bamboo won't be guaranteed to launch the Linux based image.  This becomes a problem when the plan is actually expecting a Linux file system (a user script in the OOB script task for example).  Is there a way to tell Bamboo to, in cases where a plans requirements could be met by more than one Elastic Image, to default to a specific image?

1 answer

0 votes
edwin Community Leader May 22, 2018

Hi @Timothy Miller,

An option is to add a Custom capability in the agents configuration then in your plan adding a requirement that matches your custom capability.

For example: "key: OS = value: Linux" and then under requirements of the plan.

Screen Shot 2018-05-22 at 11.35.15.png

@edwin- Already thought of that, the problem is that we have 1000s of plans with multiple stages which would need to be updated with that value.  We're currently dedicating plans that require Windows to the Windows based images but would like to get away from that as it adds a manual administration step to what is generally an automated self-service process for our end users.

edwin Community Leader May 22, 2018

Ah gotcha! I see now - that makes it complicated.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bamboo

Bamboo 7.1 is here and is packed with value!

I'm happy to announce that Bamboo 7.1 has been released and it’s overflowing with awesome new features. Top-voted issues First and foremost, a bunch of JAC top voted issues has been delivered - y...

997 views 4 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