Find plugins

Build History Manager
0.2.0Minimum Jenkins requirement: 2.138.4ID: build-history-manager

Installs: No usage data available
Last released: 7 days ago
Damian Szczepanik

Travis Status Appveyor status Shippable Status

Coverage Status Codebeat badge Codacy badge Vulnerabilities

Jenkins plugin that allows to build complex rules to define which builds should be removed from the history and which preserved.


The motivation of creating this plugin is to deliver powerful tool that allows to define rules that are built from two types of objects:


Condition filters out builds which should be performed by actions. So plugin can filter builds by:


Actions defines how the build filtered by above condition) should be modified. Plugin can:

  • mark the build to be kept forever
  • delete the build
  • delete artifacts


Read Wiki for more details.

There is possibility to build complex rules. Each rule can define more than single condition and action. Plugin starts as BuildDiscarder class. Core method that is responsible for processing conditions and actions are stored in Rule.perform() method.


feature overview page

Use cases

Using conditions and actions there is easy to realize following scenarios:

  • Delete builds which are unstable or aborted if they are not valuable from the history/audit point of view.
  • Keep only last build per result. So the history contain the most recent builds for result aborted, unstable, failure and success.
  • Keep builds only from master branch if the project builds all branches including feature branches
  • Remove builds which have build number lower than given value to easily drop all old builds at once.

Code quality

Once you developed your new feature or improvement you should test it by providing several unit or integration tests.


Release notes

Check release section

ArchivesGet past versions
This plugin has no labels