This article explains how to remove all tasks in a Bamboo Job using using the Bamboo Command Line Interface (CLI) app.
Instructions
Use the runFromTaskList and removeTask actions to remove all the tasks in from a Bamboo Job. Refer to the sample command as follows:
Code Block | ||
---|---|---|
| ||
--action runFromTaskList --plan DEMO-TEST --job JOB1 --common "--action removeTask --id @taskId@ --plan @plan@ --job @job@ " |
In the above mentioned action:
- --plan value refers to the plan name in Bamboo.
- --job value refers to the job name in Bamboo.
- --id value refers to the Bamboo task id.
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. |
...