This article explains how to remove all jobs in a Bamboo plan using using the Bamboo Command Line Interface (CLI) app.
Instructions
Use the runFromJobList and removeJob actions to remove all tasks in a Bamboo plan. Refer to the following sample command as follows:
Code Block | ||
---|---|---|
| ||
--action runFromJobList --plan DEMO-TEST --common "--action removeJob --plan @plan@ --job @job@ " |
In the above action,
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. |
...