Details
-
New Feature
-
Status: Resolved (View Workflow)
-
Major
-
Resolution: Won't Do
-
None
Description
There should be a way for users to define and reuse common fragments of code—libraries, probably in source form (perhaps limited to Groovy).
When in sandbox mode, the whole program should run in the same secured GroovyShell.
When using script approval, the administrator should be able to approve the library code independently of any usage.
Would be useful to integrate with the Git Server plugin so libraries can be readily versioned.
Attachments
Issue Links
- is duplicated by
-
JENKINS-15210 Add variable resolution to "additional groovy class path"
-
- Resolved
-
- is related to
-
JENKINS-22834 Administrator-approved classpath additions
-
- Resolved
-
This would be extremely helpful for us too, as I want to use the code to run from a script, but need the path to that script to use variables not hardcoded as the workspace changes with each execution and we allow for concurrent jobs of this type to run at the same time so you will not know what workspace it is at runtime