Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-9122

Archived artifacts overridden when having multiple produced artifacts under different paths but with the same file name

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • maven-plugin
    • None

      Some plugins (e.g. maven-helper-plugin) can attach arbitrary artifacts from files that are stored under different paths but use the same file name.
      When the artifacts have unique maven coordinates - e.g. use the same groupId, artifactId, version, but a different classifier - Jenkins attempts to archive them based on the file name only. In this case, any archived artifact will override any previously archived artifact.
      This conflict can be avoided by using the canonical name of the artifact for archiving, which will produce unique artifact files.

            Unassigned Unassigned
            yoavl yoavl
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: