-
Bug
-
Resolution: Won't Do
-
Major
-
None
When I am trying to load a library in the evaluated script, I get "Could not find any definition of libraries [foo]" error. The minimal job is like this:
evaluate '@Library("foo") _'
It would be really nice if this code worked as-is, but any workaround would help me too.
- relates to
-
JENKINS-39450 Add a LibraryStep for loading shared libraries within a Pipeline
-
- Resolved
-
[JENKINS-40560] Allow loading libraries in evaluated scripts
Description |
Original:
When I am trying to load a library in the evaluated script, I get "Could not find any definition of libraries [foo]" error. The minimal job is like this: {code:groovy} evaluate '@Library("foo") _' {code} It would be really nice if this code worked as-is, but any workaround would help me too. |
New:
When I am trying to load a library in the evaluated script, I get "Could not find any definition of libraries [foo]" error. The minimal job is like this: {code} evaluate '@Library("foo") _' {code} It would be really nice if this code worked as-is, but any workaround would help me too. |
Link |
New:
This issue relates to |
Resolution | New: Won't Do [ 10001 ] | |
Status | Original: Open [ 1 ] | New: Resolved [ 5 ] |
Assignee | New: Sam Liddicott [ samliddicott ] |
Assignee | Original: Sam Liddicott [ samliddicott ] |