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?
|Field||Original Value||New Value|
|Summary||Shareable Libraries on Slave - FileNotFoundException||Shared Libraries on Slave - FileNotFoundException|