Atlassian SDK on Bamboo Agent AMI

This question is in reference to Atlassian Documentation: stock images

You have 6 maven and 6 grails version on the AMI, but not your own Atlassian SDK to build plugins? Will that be added in a future AMI version?

 

Thomas

2 answers

1 vote

Thomas, I laughed out loud when I read this. You're right, that's a serious omission that has somehow gone unnoticed for years. We'll rectify it in a future stock images release.

Thanks, that would be a great improvement to ease getting started with add-on development via Bamboo indeed. There has been a resp. improvement request already btw., but it got resolved in favor of another approach, see my answer for more on this - maybe you could simply reopen https://jira.atlassian.com/browse/BAM-6748 so that we can follow a long?

0 vote

This has been a fairly old improvement request already, but it got resolved in favor of another approach via a dedicated task due to the disconnected update cycles between the SDK and the stock agent images:

Given AMIs can nowadays be built and maintained much faster and simpler via automation (e.g. with HashiCorp's Packer), I'd hope that the Bamboo team can indeed just include it by default going forward, as thankfully acknowledged by @Przemyslaw Bruski in his answer already (+1).

Workaround

Until the SDK will be included on the stock images by default, you might want to check into the conceptual workaround I provided on the related issue, though given the default images are meanwhile based on Ubuntu, you would need to adjust it to apt-get of course.

 

For now, something like this put into your instance setup script (see Image Configuration page in Bamboo) should do the trick:

echo deb https://sdkrepo.atlassian.com/debian/ stable contrib >>/etc/apt/sources.list.d/atlassian-sdk-stable.list
apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys B07804338C015B73
apt-get -y -q --no-install-recommends install atlassian-plugin-sdk

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,802 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