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

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

What's the best way to get Gradle running with Elastic Bamboo?

I am struggling a little bit to get Gradle running with Elastic Bamboo. I would install Gradle on our mounted EBS-Snapshot. Then take a new one and afterwards add this as Executable capability to the elastic image config. Is this enough? Since normally (like this guide: you would also manipulate your profile - but this is located on the ephemeral EBS of the image...

2 answers

1 accepted

0 votes
Answer accepted

Use this script (e.g. for Gradle 2.5):

mkdir -p ~/mnt/bamboo-ebs/gradle && cd $_



Then take a new snapshot from the EBS volume and use this in your elastic agent.

Afterwards add "Executable Capability" to your image configuration with this as path:


Now you can use Gradle as Command in Build plans and add the task name as argument - e.g. "build".

I don't use gradle, but similarly I've had to install tools I need and make them available to all build nodes.  If you've installed it on a node's EBS volume and have verified it works, then you're most of the way there.  You just need to create a snapshot and associate with your image.

Here's the docs on how to do it:

Suggest an answer

Log in or Sign up to answer
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...

587 views 1 6
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