Sample script for bulk creating Bamboo plans


I have about 90 common libraries as individual Maven projects in Subversion & Jenkins. These are libraries shared between projects that I would like to migrate to Stash and Bamboo. In Jenkins it was fairly easy to script job creation for all of these.

I see there's a REST API for Bamboo but I'm wondering if anyone has a sample shell script to clone plans from a template where only the job name and source repo are different. In Jenkins this was just a case of copying a config file to a new directory and running sed on a few keys.


1 answer

1 accepted

Bamboo Command Line Interface has clonePlan and we are working on related plan actions - BCLI-48

Thanks Bob. That will get me started. Looking at BAM-4854 it sounds like cloning is the extent of what I could do through the REST API for now.

Suggest an answer

Log in or Join to answer
Community showcase
Louis De Jaeger
Posted yesterday in Off-topic

Friday fun: your best joke

Hi all Lets make this Friday fun really fun and post one (or more) of your best jokes! The joke can be about an Atlassian product, or just a really fun joke you want to share! I’m not the best j...

168 views 12 3
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot