Versions Compared

Key

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

This article explains how how to add a stage to a plan using with Bamboo Command Line Interface (CLI).

Instructions

Use addStageUse addStage action to add a stage in a Bamboo plan. Each new plan created in Bamboo contains at least one stage and is known named as the 'Default Stage'. 
The following parameters are used in this action:
--plan value refers to the plan key.
--description value refers to the stage description.
--name value refers to the name of the stage.

...

. For this instance, let's add a stage, Execute stage, in the plan, MKTES-P.

Execute the following command to add a stage to a plan:

Code Block
themeMidnight
--action addStage --plan "MKTES-TP" --name "Execute stage" --description "Stage for the execution"

...


Image Added

The parameters used with the action are:

  • --plan value refers to the plan key.
  • --description value refers to the stage description.
  • --name value refers to the name of the stage.
Info

It is recommended to test the commands command in a non-production environment before running in the productionproductionor, run the action with --simulate parameter to verify the behaviour before deploying.