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

This widget could not be displayed.

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?

This widget could not be displayed.

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
Community showcase
Posted yesterday in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

79 views 0 1
Join discussion

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