Copy Artifacts of specific build number fails if build is triggered by upstream project.

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      We have the following setup: Three projects A, B and C, where a successful build of A triggers a build of B, which in turn triggers C (i.e. C depends on B, and B depends on A). Both A and B archive some artifacts, and the first step of B's build is to fetch the artifacts of A, and the first step of C's build is to fetch artifacts for both A and B.

      Now we want a specific build artifact of A (not the latest one) in project C and use the "specific build" option and giving a build number for which artifacts exist. Now, the build of C fails with "Unable to find a build for artifact copy from: A" if the build is triggered by the upstream project B. Building C manually seems to work initially, but once the build failed for the reason mentioned, only a Jenkins restart fixes the issue.

      As a workaround, it seems that using "latest saved build" works.

            Assignee:
            Unassigned
            Reporter:
            Stefan Heule
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Archived: