View Purge Job History on the plugin site for more information.
Purge Job History Plugin
This plugin provides the ability to purge all the build records of a job either via a CLI command or via the UI.When this plugin is installed it adds a new action to all Jobs with builds,
Purge Build History:
Selecting this action will display the following screen:
By default the build number will not be reset back to 1, but the checkbox can be selected if you want the next build number reset when purging the build history.
The functionality is also exposed as a CLI command:
In either case the user invoking the action needs to have the Run/Delete permission on all builds in the job in order for the operation to succeed.h
See release notes in plugin GitHub page.