-
Improvement
-
Resolution: Won't Do
-
Major
-
None
As one goes about adding Groovy DSL to generate jobs for a production development site you realize that there are many jobs which share similar DSL code. Currently you are able to share this code by extracting the common stuff out into a separate groovy file and import it into each of your worker scripts. However, there is one small - albeit very significant - limitation here: the common groovy scripts must exist in the local workspace where the job DSL is being run.
What I would like to see is some way of making common DSL scripts available from the Jenkins master so any job running under it can import them. What I'm thinking is something like what the Scriptler plugin does, where you can store common script in the global configuration (ie: on the Jenkins master) and import / reference them in your groovy build steps (so long as you run them as 'system scripts' on the master anyway).