-
Type:
New Feature
-
Resolution: Fixed
-
Priority:
Major
-
Component/s: job-dsl-plugin
It's very handy to have build steps as separate files when creating a job. You get the full power of your editor.
However, if you're storing everything in an SCM, then you need to access the workspace to get the files.
It'd be really handy to have a way to read and import files from the workspace. e.g.
shell(workspace.readFile('path/to/my-build-step.sh'));