Versions Compared

Key

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

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

...

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

    Code Block
    themeMidnight
     --action runFromBuildList --plan DEMO-TEST --common "--action removeBuildHistory --build @build@ "

    In the above action,

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

...

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.

...