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

Jenkins can't see workspace files created on a slave node

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not A Defect
    • Icon: Major Major
    • core
    • linux system running Jenkins 1.542 war file

      I have been running Jenkins on a single server for years. My scripts run PMD and Findbugs and copy the generated output to the job's workspace directory. I tried to add a slave node to offload some of the builds. They build correctly, and copy generated XML files to the same directory (Jenkins home is on a shared mount that both slave and master servers can access exactly the same way). The slaves are also generating the output and placing it in the same directory as the master server. However, checkstyle is not able find the generated output to update the result graph on the Jenkins UI. When I try to access workspace directory through the job's workspace link on Jenkins, it is empty.

      The status for PMD and Findbugs on the build's status page state:

      During parsing an error has been reported.

      Clicking on the error link produces the message:

      No report files were found. Configuration error?

      I don't understand why the files which are generated the same way and placed in the same directory are not visible for builds done on the slave server.

            Unassigned Unassigned
            javakrieg javakrieg
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: