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

CopyArtifact plugin cannot always copy artifacts

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Critical Critical
    • copyartifact-plugin, core
    • None
    • Jenkins Windows 1.486. CopyArtifact v1.23

      Several of our jobs will intermittently fail. Examination of the logs show the same problem:

      (SAMPLE)
      08:55:39 Unable to find a build for artifact copy from: BUILD_WINDOWS_ALL
      08:55:39 Build step 'Copy artifacts from another project' marked build as failure

      That's all that is in the console. We haven't upgraded to CopyArtifact v1.24 (the only fix was for Jenkins master running on Unix, which we are not).

      The problem is highly intermittent. We've gone for days without having the problem, then get numerous occurrences (perhaps 20 out of 200 similar jobs being run). These problems begin after the the job lazy-load was introduced into Jenkins core. Given the nature of the failures and the environment at the time of the failures, it may be a locking/race problem with several jobs all trying to access the same artifacts from the same source build at the same time.

      If there anything else that I can provide to resolve this issue.

            kohsuke Kohsuke Kawaguchi
            jswager1 Jason Swager
            Votes:
            3 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: