We use Bamboo to build a Grails app. Although we use the stock image V3 Default Image S3 i386 (linux) (stock image), it only has Grails 2.1.1 available. As a result, we're seeing these warnings in the build log:
build 12-Feb-2013 05:51:37 | NOTE: Your application currently expects grails version 2.1.2 , this target will upgrade it to Grails 2.1.1
How can we get newer Grails versions, like the 2.1.2 or 2.2.0, into our Bamboo builds?
Thank you for contacting Atlassian Support! I've put in a feature request to upgrade Grails to 2.2.0 for the stock images, you can find it here.
In the mean time you can install your own desired version of Grails onto an EBS volume! Simply create an EBS volume by following [these instructions]. As part of the Grails installation you will need to set the Path for Grails, you can do this by customizing /mnt/bamboo-ebs/bin/customise-extras.sh to set the path when it runs (which is during the instance startup).
Once you have installed and set up Grails on your EBS volume, you must add the Grails capability from the Image configuration. Go to Image Configurations and click on 'View Capabilities'. At the bottom you may add a new Capability and point it towards the location where you installed your own Grails configuration.
With the capability added your builds can now use your own Grails installation to build!
Let me know if you have any further questions!
As a Belgian, beer-lover and home brewer, beer is one of my great passions. I love the fact that with just a few ingredients (usually just water, hop and malt) you can create so many different tastes...
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!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
We're bringing product updates and pro tips on teamwork to ten cities around the world.Save your spot