Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This article explains how to add Branches for Bamboo plans in large numbers bulk using Bamboo Command Line Interface (CLI).

Instructions

  1. Create a CSV file with required data filled into the columns plan and branch as shown in the following screenshot:
    Image Modified

  2. Combine the actions runFromCsv and addBranch to create branches in bulk. This example works because the column names in the CSV file are the same as the parameter names for addBranch

    Code Block
    themeMidnight
    --action runFromCsv --file bulkBranches.csv --common "--action addBranch"


...

Info

It is recommended to test this scenario in a test environment or run the action with the --simulate parameter to verify the behavior before deploying.

...