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

Allow multiple specific builds

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Minor Minor
    • copyartifact-plugin
    • None
    • Multijob plugin v1.28, Copy Artifact plugin v1.39, Jenkins 2.119, Java 8, CentOS 6.9

      Currently the option "specific build" allows a single number.  This was working ok for me when I had a multijob build with unique job names and using $TRIGGERED_BUILD_NUMBER_<job name> environment variable exported by the Parameterized Trigger plugin.

      Now that I modified the build to trigger the same job twice with different parameters, I noticed and switched to using the $TRIGGERED_BUILD_NUMBERS_<job name> (pluralised), which evaluates to a comma-delimited list of build numbers.  

      However, this does not work because the Copy Artifact plugin's "specific build" option expects a single parameter.

      Perhaps it should allow multiple, so this scenario is supported?

      (Note, I've attempted to use the "Build triggered by current Multijob build" option, but this also fails for reasons I can't currently determine.)

            Unassigned Unassigned
            wu_lee Nick S
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: