Versions Compared

Key

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

This article explains how to remove all jobs in Bamboo plan using Bamboo Command Line Interface (CLI) app.

...

Use runFromJobList and removeJob action  actions to remove all tasks in a Bamboo plan. Refer to the 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.