Skip to end of banner
Go to start of banner

How to disable the all jobs in Bamboo plan using Bamboo Command Line Interface (CLI)

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

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

Instructions

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

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


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.

  • No labels