Uploaded image for project: 'Artifactory Binary Repository'
  1. Artifactory Binary Repository
  2. RTFACT-5637

Results of property 'buildRetention.count’ transferred with the build info are not as expected

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: Deferred
    • Affects Version/s: 2.6.6
    • Fix Version/s: None
    • Component/s: Gradle
    • Labels:
      None
    • Severity:
      Medium

      Description

      In the following scenario NO binary promotion in the artifact repository is used, the modules are simply published to different logical repositories while also changing the ‘buildRetention.count’ property transferred with the build info. The build info does NOT contain a ‘statuses’ section as its ‘status’ property cannot be set to the proper value.

      (1) Publish status ‘integration’ modules to logical repository ‘lib-snapshots’ with retention count set to 1
      (2) Publish status ‘milestone’ modules to logical repository ‘lib-milestone’ with retention count set to 1
      (3) Publish status ‘release’ modules to logical repository ‘lib-release’ with retention count set to -1
      (4) Publish status ‘integration’ modules to logical repository ‘lib-snapshots’ with retention count set to 1

      The result is not exactly what one would have expected …

      • The retention count is not treated per logical repository but globally. After executing (2), previously modules published by (1) are deleted
      • Publishing with retention count -1 in step (3) has only a temporary affect. After executing (4), previously modules published by (2) and (3) are deleted
      • Even after incrementing the version, modules from previous versions are purged

        Attachments

          Activity

              People

              Assignee:
              Unassigned
              Reporter:
              samoht Thomas Glaeser (Inactive)
              Votes:
              12 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Sync Status

                  Connection: RTFACT Sync
                  RTMID-5637 -
                  SYNCHRONIZED
                  • Last Sync Date: