[CopyArtifacts] Copy from parent downstream job

36 views
Skip to first unread message

David Campos

unread,
Mar 7, 2017, 6:04:48 PM3/7/17
to Jenkins Users
Hi,

I'm trying to pull-off the following flow:

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
Producer and Consumer job are sibling and share a common parent. Both jobs should be downstream of parent job.

Tested solution

Producer jobs creates the file with artifact fingerprint.

I tried to take advantage of CopyArtifacts with the selector Downstream to selecting the parent job as job source and passing the job number as parameter but the result is ERROR: Unable to find a build for artifact copy from: poc/downstream.copy.producer

What am I doing wrong?

I supply the screens of the configuration
Screen Shot 2017-03-08 at 00.01.32.png
Screen Shot 2017-03-08 at 00.02.33.png
Screen Shot 2017-03-08 at 00.03.01.png
Screen Shot 2017-03-08 at 00.03.50.png
Screen Shot 2017-03-08 at 00.04.13.png

David Campos

unread,
Mar 10, 2017, 6:27:27 AM3/10/17
to Jenkins Users
Anyone has any idea?
Reply all
Reply to author
Forward
0 new messages