Purge
Command Reference
Description
Purge unused and not-current packages.
The Purge command finds the set of package objects associated with the provided package type and/or buildstamp (or buildstamp regex) and deletes them from the repository and the object model that are not in use and are not associated with the most recent build (per entity.attribute.buildstamp).
Usage
ctl -t Builder -o <objectname> -c Purge [-buildertype <>] [-buildstamp <>] [-packagetype <>]
Workflow
Options
Option | Description | Type | Default |
---|---|---|---|
buildertype | builder type | string | ${context.type} |
buildstamp | build identifier (regex allowed) | string | ${entity.attribute.packagePurgeRegex} |
packagetype | type (or subtype) of package to find | string | ${entity.attribute.packageType} |