This article explains how to remove all capabilities in Bamboo using the Bamboo Command Line Interface (CLI).
Instructions
Use runFromCapabilityList and removeCapability to disable the all jobs in a Bamboo plan.
Code Block | ||
---|---|---|
| ||
--action runFromCapabilityList --common "--action removeCapability --capability \""@capabilityKey@\""" |
In the above-mentioned action:
- --capability value refers to bamboo the Bamboo job.
Info |
---|
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. |
...