How to get details of all Bamboo plans with Bamboo Command Line Interface (CLI)

This article explains how to get details of all Bamboo plans with the Bamboo Command Line Interface (CLI) app.

Instructions

Use the runFromPlanList and getPlan actions to get all the plan details in Bamboo. Refer to the sample command as follows:

--action runFromPlanList --project "@all" --common "--action getPlan --plan "@plan@""

In the above action:

  • --project value refers to all projects in Bamboo.
  • --plan value refers to Bamboo plan key.
  • Additionally, --regex can be used to filter plans.

It is recommended to test the commands in a non-production environment, or, run the action with --simulate parameter to verify the behavior before deploying.