This article explains how explains how to set the dependency of the plan a plan's dependency using the Bamboo Command Line Interface CLI )app.
Instructions
Use the setDependencyOptions action to set the dependency of the plan. Trigger set a plan's dependency. Trigger a plan build when another plan 's build has completed successfully completed.
Execute the following command to set the plan dependency of the plan:
Code Block theme Midnight --action setDependencyOptions --plan "MKTES-PLANA" --childPlans "MKTES-PLANB"
The output of the CLI action is as shown:
Screenshot of the planCode Block theme Midnight Plan dependency options set.
Plan before adding the dependency:
Screenshot of the plan
Plan after executing the CLI action to set the dependency.:Execute the below following CLI action to set more than one plan dependency.:
Code Block theme Midnight --action setDependencyOptions --plan "MKTES-PLANA" --childPlans "MKTES-PLANB,MKTES-TP"
Screenshot of the plan 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 you want to be set as a dependency.
Info |
---|
|
...