The deleteBuild program is basically the more user friendly interface to the eraseBuild program.  Instead of having to know the buildId value from the build database table to trigger the erasure, the user can specify the package type, version type, os, etc. to delete the build.  In addition, deleteBuild allows for multiple builds to be deleted at a single time at it finds all the builds that match the specified parameters.  Thus you can specify the version type (i.e. Integration, Release, Release Candidate), the version number and the package and delete all the builds across all operating systems with a single command. The program prompts for confirmation before starting the deletion process.

The parameters accepted by deleteBuild are:

Note:  This program currently relies on the LSF batch queuing system to launch the eraseBuild program for each of the targeted builds.  As such it will only work on build located on the NFS file system accessible from the batch machines.  In order to work with Jenkins (i.e. on the Mac and Windows), the 'Erase' workflow target will have to be overridden or maybe more sensibly, replayed by a new target and line 211 of the deleteBuild.cxx file updated with the name of the workflow script.