How do you reuse your ReadyAPI Groovy scripts if you want to run tests in a pipeline?
"Create custom Groovy classes, embed your reusable Groovy scripts into their methods, save them as separate files with the .groovy extension and voila - your Script Library is ready. You just need to...
if your external Groovy/Java code needs to be shared amongst all tests, you can place it in a separate Git repo.
At your local computer, checkout the repo and configure your ReadyAPI to point into that directory.
In the pipeline, you need to setup ReadyAPI. Checkout of the shared code repo would be part of this ReadyAPI setup (probably as a ready-made container). So in each test pipeline you won't need to do extra work.