in reply to Perl shared library for Jenkins
In my experience it's best to keep the Groovy based Jenkinsfile small, and to allow it to invoke more robust, testable scripts. I write the scripts that the Jenkinsfile invokes as modulinos, so that they can be tested more in isolation.
Dave
In Section
Seekers of Perl Wisdom