How can we add the ANT 1.9 executable to bamboo elastic ? The current version on the image is 1.8.4 I believe but we need 1.9.1.
Does this require us to create a custom image ? Is there an upgrade to bamboo that has version 1.9.1 on the stock image?
We are using jira ondemand.
Thanks
Community moderators have prevented the ability to post new answers.
You don't need to create a custom image. Add the following snippet as your instance startup script (in your image configuration):
antVersion=1.9.1
curl --silent "http://archive.apache.org/dist/ant/binaries/apache-ant-$antVersion-bin.tar.bz2" | bzip2 -d | tar xC /opt -f -
ln -fs /opt/apache-ant-$antVersion /opt/ant-1.9
rm -rf /opt/apache-ant-*/docs
Thanks that worked.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.