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

First distribution of package contains an incorrect bintray link

    Details

    • Type: Bug
    • Status: Open
    • Priority: Normal
    • Resolution: Unresolved
    • Affects Version/s: 5.9.6
    • Fix Version/s: None
    • Labels:
      None

      Description

      Setting a pathFilter and package in the distribution repository rules will result in a bad bintray link if the paths in Artifactory and Bintray do not match.

      Reproduction steps:
      1.create repositories docker-dist (distribution), docker-local (local), registry (in bintray)
      2. in docker-dist, set the following rule:
      Path Filter:

      mysql/(.*)/(.*)

      Package: ${path:1}

      push docker image to:
      docker-local/mysql/latest/manifest.json

      Select distribute -> path will show:
      docker-dist/registry/mysql/latest/manifest.json (Bintray URL https://bintray.com/<ORG>/registry/mysql - wrong, will 404)

      Correct Bintray URL: https://bintray.com/<ORG>/registry/latest, as

      {path:1}

      will take the first group, of the path filter, which in this case is the docker images version, latest, and creates a Bintray package named latest, but Artifactory will use its original path, docker-local/mysql/latest/ -> docker-dist/registry/mysql/, rather than docker-dist/registry/latest

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              loreny Loren Yeung
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: