This article explains how to all build history of a Bamboo plan using Bamboo Command Line Interface (CLI).
Instructions
Use runFromBuildList and removeBuildHistory to remove the all build history of a Bamboo plan.
--action runFromBuildList --plan DEMO-TEST --common "--action removeBuildHistory --build @build@ "
In above action,
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.