Re: Shared library function cannot call other shared library function in separate file if called function uses "writeFile"

2020-02-08 Thread David Karr
I think you've both misunderstood what I'm saying, or I'm not being clear enough. I'm not writing to write a function named "writeFile", I'm just calling that pipeline step from the function. All of the function names I'm creating are definitely unique. If I call the "vars" function that call

Re: Shared library function cannot call other shared library function in separate file if called function uses "writeFile"

2020-02-08 Thread Jan Monterrubio
Yeah you’re probably getting namespace collisions. This happened to me trying to make a logging function called ‘error’ as well. On Sat, Feb 8, 2020 at 10:43 Reinhold Füreder wrote: > Hi David, > > I think that could be related to > https://issues.jenkins-ci.org/browse/JENKINS-50736, because the

AW: Shared library function cannot call other shared library function in separate file if called function uses "writeFile"

2020-02-08 Thread Reinhold Füreder
Hi David, I think that could be related to https://issues.jenkins-ci.org/browse/JENKINS-50736, because there is a pipeline basic step called 'writeFile' (see https://jenkins.io/doc/pipeline/steps/workflow-basic-steps/#writefile-write-file-to-workspace), but maybe Jesse Glick or Andrew Bayer ca