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

Promotion fails if the artifact exists twice in the artifacts section

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: High
    • Resolution: Unresolved
    • Affects Version/s: 4.8.2, 4.16.0, 6.11.1
    • Fix Version/s: None
    • Component/s: Build Info
    • Labels:

      Description

      If inside a module there is the same artifact twice (including that the SHA1 and MD5 are identical), the promotion will fail. For example if inside the module list you have the following:

      { "type" : "zip", "sha1" : "0c3ba6e24cc602098e8a5daca784fe38888c76a9", "md5" : "514f89eb17591ee9122e274c8bf7da4f", "name" : "dc-dist-1.0.20.zip" }

      ,

      { "type" : "zip", "sha1" : "0c3ba6e24cc602098e8a5daca784fe38888c76a9", "md5" : "514f89eb17591ee9122e274c8bf7da4f", "name" : "dc-dist-1.0.20.zip" }

      ],

      And this artifact exists once then promotion fails:

      {
      "errors" : [

      { "status" : 400, "message" : "Unable to find artifacts of build 'dc-dist.lr62' #11: aborting promotion." }

      ]
      }

      The workaround is to set the failFast to false instead of true.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              alexeiv Alexei Vainshtein
              Votes:
              11 Vote for this issue
              Watchers:
              14 Start watching this issue

                Dates

                Created:
                Updated: