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

copyartifact 1.26 does not expand label expressions in parameter field, copies all of them

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: Major Major
    • copyartifact-plugin
    • None
    • linux jenkins 1.508

        [JENKINS-17365] copyartifact 1.26 does not expand label expressions in parameter field, copies all of them

        Julian Taylor created issue -
        Julian Taylor made changes -
        Environment Original: since version 1.26 copyartifact does not expand variables in the parameter filter.

        Previously I had such a setup:

        job-name/os=$os,arch=$arch

        where os and arch are either label expressions or environment variables of the nodes themselves (for non matrix jobs).
        So each job copied the one correct artifact from the other matrix jobs.

        with the latest update now the plugin does not properly handle this. The Parameter filter was created automatically like this:
        os=$os,arch=$arch

        but this has the effect that *all* artifacts of the parent matrix job are copied.
        They also land in variable qualified subfolders instead of the top level so it breaks all of my jobs.
        New: linux jenkins 1.508
        Jesse Glick made changes -
        Link New: This issue is blocking JENKINS-13222 [ JENKINS-13222 ]
        Jesse Glick made changes -
        Resolution New: Won't Fix [ 2 ]
        Status Original: Open [ 1 ] New: Resolved [ 5 ]
        R. Tyler Croy made changes -
        Workflow Original: JNJira [ 148199 ] New: JNJira + In-Review [ 192769 ]
        ikedam made changes -
        Status Original: Resolved [ 5 ] New: Closed [ 6 ]

          Unassigned Unassigned
          jtaylor Julian Taylor
          Votes:
          0 Vote for this issue
          Watchers:
          3 Start watching this issue

            Created:
            Updated:
            Resolved: