TL;DR Is there a way to import code into the Jenkinsfile from the local repository (other than the load step)?
I\'ve ex
Wanted to do the same and ended up creating this:
https://github.com/jenkinsci/workflow-cps-global-lib-plugin/pull/37
and here is how I use it:
https://github.com/syndesisio/syndesis-pipeline-library/blob/master/Jenkinsfile#L3
In my case I wanted to create a Jenkinsfile that actually tests the pipeline library that the repository contains.
Let me know what you think and feel free to add your comments on the PR too.