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

Shared Libraries on Slave - FileNotFoundException

    Details

    • Similar Issues:

      Description

      We used a shared library in pipelines for nine month in a master only configuration,
      Now we want to add slaves to improve the speed and share jobs between more cpu, but we have a strange behavior.
      In the shared library there a Groovy method to read a properties file from the workspace and we get a FileNotFoundException. How can the groovy script read file on workspace in the slave node?

      If it is true that "Groovy execution is still on the master" as in JENKINS-54646 (https://issues.jenkins-ci.org/browse/JENKINS-54646) this means shared-libraries are useless in a master slave configuration?

        Attachments

          Activity

          mturr Matteo Turra created issue -
          mturr Matteo Turra made changes -
          Field Original Value New Value
          Summary Shareable Libraries on Slave - FileNotFoundException Shared Libraries on Slave - FileNotFoundException

            People

            • Assignee:
              Unassigned
              Reporter:
              mturr Matteo Turra
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: