Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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
themeMidnight
--action runFromJobList --plan DEMO-TEST --common "--action removeJob --plan @plan@ --job @job@ "


In the above action,

  • --plan value refers to the plan name in Bamboo.
  • --job value refers to the job name in Bamboo.

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.

...