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

Unable to copy artifacts from sibling of MultiJob project

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • copyartifact-plugin
    • None

      When trying to copy an artifact from a sibling job using "downstream to" selector I get the following error:

      }}{{ERROR: Unable to find a build for artifact copy from: poc/downstream.copy.producer
       
      Scenario
       
      3 jobs

      • Parent job - MultiJob - Just triggers or schedules a set of jobs
      • Producer job - Freestyle job - Triggered by parent job as Phase 1
      • Consumer job - Freestyle job - Consumes data produced by producer and is triggered as Phase 2 by parent job

      Configuration

      • Producer job: 
        • Generates a sample file
        • Archives the file and stores fingerprints
      • Consumer job:
        • Receives the parent build number
        • Copies sample file from producer job based on the job being downstream of the provided number
      • Parent job:
        • Stage 1: Trigger the producer
        • Stage 2: Trigger the consumer

      Selector used: "Downstream to"

      Side note: Tested the same scenario without folders

          [JENKINS-42587] Unable to copy artifacts from sibling of MultiJob project

          This is still a huge issue. It basically makes CopyArtifact useless in Multijobs with Matrix builds!

          Julianus Pfeuffer added a comment - This is still a huge issue. It basically makes CopyArtifact useless in Multijobs with Matrix builds!

            Unassigned Unassigned
            dcampos David Campos
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: