Skip to end of banner
Go to start of banner

How to remove build history of a 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

« Previous Version 5 Current »

This article explains how to remove the entire build history of a Bamboo plan using the Bamboo Command Line Interface (CLI).

Instructions

Use runFromBuildList and removeBuildHistory to remove the entire build history of a Bamboo plan.

 --action runFromBuildList --plan DEMO-TEST --common "--action removeBuildHistory --build @build@ "

In the mentioned action,

  • --plan value refers to the plan name in Bamboo.
  • --build value refers to the build number.

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