Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Sample script for bulk creating Bamboo plans

Michael Smith March 30, 2014

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

1 vote
Answer accepted
Bob Swift OSS (Bob Swift Atlassian Apps)
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 30, 2014

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

Michael Smith April 1, 2014

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
TAGS
AUG Leaders

Atlassian Community Events