Perform Dry Run Cleanup Policy

JFrog Platform Administration Documentation

Content Type
Administration / Platform
ft:sourceType
Paligo

This section outlines how to perform a dry run for a cleanup policy. A dry run lets you preview which items will be deleted based on your defined policy criteria, without performing the actual deleting. This helps you understand the potential outcome before executing the policy. After the dry run, a CSV report is generated, listing all items that would be deleted along with relevant details. Review this list to decide whether to proceed with the policy or adjust the settings.

Note

  • We recommend performing a dry run and reviewing the results before activating a policy to prevent unintended deletion.

  • Dry run results reflect the specific point in time when the dry run is performed. The results of an actual policy execution may differ, as it occurs at a later scheduled time.

To perform a dry run for the Cleanup policy, follow these steps:

  1. As per the User persona, you can work with the contexts as described below:

    • Global Context

      Note

      Applies to Platform Admin only.

      1. From the Projects drop-down list, click All Projects.

      2. From the Administrator module, click Artifactory Settings, and then click Retention Policies.

        The Retention Policies page appears.

        HC_CreatePolicyPlatformAdmin.png
    • Project Context

      Note

      Applies to both Platform Admin and Project Admin.

      1. From the Projects drop-down list, choose the desired project.

      2. From the Administrator module, click Artifactory, and then click Retention Policies.

        The Retention Policies page appears.

        HC_CreatePolicyProjectAdmin.png
  2. In the Retention Policies page, click Cleanup.

  3. From the Policies tab, under Policies, locate the policy you want to run, click ••• icon and then click DryRunIcon.png Perform a Dry Run.

    PerformDryRuncleanup.png
  4. After the dry run is finished, you can review its status report, as explained in View All Cleanup Runs.