How to delete all projects in Bamboo using Bamboo Command Line Interface (CLI)

This article explains how to delete all projects in Bamboo using Bamboo Command Line Interface (CLI).

Instructions

Use runFromProjectList and deleteProject actions to remove all the projects in Bamboo.

Here is an example:

--action runFromProjectList --common "--action deleteProject --project @project@ "


In the above-mentioned action, --project refers to the Bamboo project key. 


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.