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

Misleading error when upstream jobs do not archive the artifacts

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • copyartifact-plugin
    • None
    • Tested Jenkins Versions:
      Jenkins ver. 1.409.1
      Jenkins ver. 1.425 / 1.426

      The copyartifacts plugin looks in the archive directory of the referenced project. If this does not exist because the job did not have "Archive the artifacts" selected, the reported error does not indicate this. The error as emitted is:

      Started by user anonymous
      Unable to access workspace for artifact copy. Slave node offline?
      Build step 'Copy artifacts from another project' marked build as failure
      Finished: FAILURE

      Only after attaching a debugger did we discover the full path that the plugin was using for the workspace and realized we needed to enable artifact archiving.

            mindless Alan Harder
            mantis John Wildman
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: