Sample script for bulk creating Bamboo plans

Hi,

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.

Thanks!

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 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
Posted Friday in Off-topic

Friday Fun: Riddle me this

Happy Friday, Funmakers! We had a Community Team offsite in Austin this week, and my mind feels primed for thinkin' from all the brainstorming we did!  So, this week's Friday Fun thread w...

212 views 24 5
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