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

    • 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.

          [JENKINS-9122] Archived artifacts overridden when having multiple produced artifacts under different paths but with the same file name

          yoavl created issue -
          SCM/JIRA link daemon made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          Elifarley made changes -
          Link New: This issue is related to JENKINS-9466 [ JENKINS-9466 ]
          Jenkins IRC Bot made changes -
          Component/s New: maven-plugin [ 16033 ]
          Component/s Original: maven2 [ 15487 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 139278 ] New: JNJira + In-Review [ 188426 ]

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

              Created:
              Updated:
              Resolved: