/
How to remove all stages in Bamboo plan using Bamboo Command Line Interface (CLI)
How to remove all stages in Bamboo plan using Bamboo Command Line Interface (CLI)
This article explains how to remove all stages in a Bamboo plan using the Bamboo Command Line Interface (CLI) app.
Instructions
Use the runFromStageList and removeStage actions to remove all stages in a Bamboo plan.
Run the following CLI action:
--action runFromStageList --plan "TR-TP" --common "-a removeStage --plan @plan@ --stage @stage@"
Before executing the CLI action:
After executing the CLI action:
The parameter used with the action is:- --plan value refers to the plan name in Bamboo.
- --stage value refers to the stage name in Bamboo.
- 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.
Related content
How to remove all jobs in Bamboo plan using Bamboo Command Line Interface (CLI)
How to remove all jobs in Bamboo plan using Bamboo Command Line Interface (CLI)
More like this
How to remove build history of a Bamboo plan using Bamboo Command Line Interface (CLI)
How to remove build history of a Bamboo plan using Bamboo Command Line Interface (CLI)
More like this
How to add a stage to a plan with Bamboo Command Line Interface (CLI)
How to add a stage to a plan with Bamboo Command Line Interface (CLI)
More like this
How to remove all tasks in Bamboo Job using Bamboo Command Line Interface (CLI)
How to remove all tasks in Bamboo Job using Bamboo Command Line Interface (CLI)
More like this
How to delete all projects in Bamboo using Bamboo Command Line Interface (CLI)
How to delete all projects in Bamboo using Bamboo Command Line Interface (CLI)
More like this
How to update stage of the plan using Bamboo Command Line Interface
How to update stage of the plan using Bamboo Command Line Interface
More like this