...
Source | Bamboo | Advantages |
---|
Java | 6.0 and higher | - Provided by Atlassian
- Finer grained access for more complete and complex requirements
- Well suited for teams with Java programming
|
CLI | 5.10 and higher | - Higher level abstraction
- Same syntax as dynamic plan modifications and related automation
- Individual actions enable better problem determination
- Option to continue past individual errors on plan creation or modification
|
Export Existing Plans
Whatever option you choose, the new Bamboo CLI exportPlan action can help you with your journey and automation.
Info |
---|
title | EAP - exportPlan is marked experimental in 6.4 |
---|
|
- Atlassian considers export to java as beta for Bamboo 6.0 - export may be incomplete or not able to be imported without changes
- Export plan to CLI is new in Bamboo CLI 6.4 and has some limitations as well in terms of completeness that will be addressed mostly in release 6.5
|
Code Block |
---|
language | bash |
---|
title | Export to Bamboo Specs Java |
---|
|
--action exportPlan --plan EXAMPLE-PLAN --type java --file example.java |
...
Code Block |
---|
language | bash |
---|
title | Export to CLI Script |
---|
|
--action exportPlan --plan EXAMPLE-PLAN --file example.txt |
Export All Plans With One CLI Action
One action will export all your existing plans to a directory. Alternatively, be more selective by doing this by project and using regex based filtering on names.
Code Block |
---|
language | bash |
---|
title | Export to CLI Script |
---|
|
--action runFromPlanList --project @all --common "--action exportPlan --plan @plan@ --type java --file export/@project@/@plan@.java"
or
--action runFromPlanList --project @all --common "--action exportPlan --plan @plan@ --file export/@project@/@plan@.txt" |