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

This widget could not be displayed.

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
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...

69 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