Versions Compared

Key

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

This article explains how to disable all jobs in a Bamboo plan using the Bamboo Command Line Interface (CLI).

Instructions

Use runFromJobList and disableJon disableJob to disable all jobs in a Bamboo plan.

Code Block
themeMidnight
--action runFromJobList --plan CLI-DEMO --common "--action disableJob --job @job@ --plan @plan@"

In the above-mentioned action:

  • --plan value refers to the plan name of the Bamboo plan.
  • --job value refers to 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.

...