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 reply to Re: Perl shared library for Jenkins
by davido
in thread Perl shared library for Jenkins
by josthi
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |