Skip to end of banner
Go to start of banner

How to remove 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 remove all jobs in Bamboo plan using Bamboo Command Line Interface (CLI) app.

Instructions

Use runFromJobList and removeJob action to remove all tasks in a Bamboo plan. Refer to the sample command as follows:

--action runFromJobList --plan DEMO-TEST --common "--action removeJob --plan @plan@ --job @job@ "


In above action,

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

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