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

Misleading error when upstream jobs do not archive the artifacts

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Component/s: copyartifact-plugin
    • Labels:
      None
    • Environment:
      Tested Jenkins Versions:
      Jenkins ver. 1.409.1
      Jenkins ver. 1.425 / 1.426
    • Similar Issues:

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: