This article explains how to add a stage to the plan with Bamboo Command Line Interface (CLI).
Instructions
Use addStage action to add a stage in the plan. Each new plan created in Bamboo contains at least one stage and is known as the 'Default Stage'.
The parameter used in the below action:
--plan value refers to the plan key.
--description value refers to the stage description.
--name value refers to the name of the stage.
Execute this action to add a job in the stage of a plan.
--action addStage --plan "MKTES-TP" --name "Execute stage" --description "Stage for the execution"
It is recommended to test the commands in a non-production environment before running in the production.