/
How to set the dependency of a plan using Bamboo CLI
How to set the dependency of a plan using Bamboo CLI
This article explains how to set a plan's dependency using the Bamboo Command Line Interface app.
Instructions
Use the setDependencyOptions action to set a plan's dependency. Trigger a plan build when another plan build has completed successfully.
Execute the following command to set the plan dependency:
--action setDependencyOptions --plan "MKTES-PLANA" --childPlans "MKTES-PLANB"
The output of the CLI action is as shown:
Plan dependency options set.
Plan before adding the dependency:
Plan after executing the CLI action to set the dependency:Execute the following CLI action to set more than one plan dependency:
--action setDependencyOptions --plan "MKTES-PLANA" --childPlans "MKTES-PLANB,MKTES-TP"
Plan after executing the CLI action to set the dependency:
The parameters used with the action are:
- --plan value refers to the plan key.
- --childPlans value refers to the plan key to be set as a dependency.
- It is recommended to test the action in a non-production environment before running in production, or, run the action with --simulate parameter to verify the behavior before deploying.
Related content
Create dependencies
Create dependencies
More like this
Create dependencies
Create dependencies
More like this
Dependencies (App Configuration)
Dependencies (App Configuration)
More like this
Dependencies (App configuration)
Dependencies (App configuration)
More like this
Strong dependencies (App configuration)
Strong dependencies (App configuration)
More like this
ASAP mode
ASAP mode
More like this