Summary

1.0.2

Introduction of two new parameters

  • NB_OF_ARCHIVES_TO_KEEP (default = -1):
    This parameter is useful when users want to destroy already accepted versions. Since the system does not allow it directly, these versions must be archived first, then destroyed.
    It sets the number of versions that should NOT be destroyed after being archived.
    Default value is -1, which means no archived version will be destroyed (old behaviour).
    If set to 0, all archived versions will be destroyed.
    If set to N, the N last archived versions will remain; other archived versions will be destroyed.
  • KEEP_PATTERN (default = “”):
    This pattern allows users to define a regular expression that version names must match in order to be spared.
    Versions whose names match the pattern will NOT be archived nor destroyed, regardless of their status, order, or creation date.

1.0.1

Bug Fixes

  • Mode ALL : when an undeployed version could not be destroyed because it was the previous version of a deployed version, then the script exited without proceeding to archiving step. So the batch looped and tried again indefinitely. It now proceeds with archiving step, even if some undeployed version cannot be destroyed. So the batch loops until there is no more version to archive and no more undeployed version that CAN be destroyed.

1.0.0

First version