Details
-
Type:
New Feature
-
Status: Closed (View Workflow)
-
Priority:
Minor
-
Resolution: Fixed
-
Component/s: pipeline-model-definition-plugin
-
Labels:None
-
Similar Issues:
Description
Right now users must use an @Library annotation to load libraries in Pipeline script. This works within a Pipeline with declarative syntax but must be called outside of the pipeline block.
It would be nice if we could load libraries within the pipeline block with a library configuration section.
Attachments
Issue Links
- depends on
-
JENKINS-39450 Add a LibraryStep for loading shared libraries within a Pipeline
-
- Resolved
-
- is related to
-
JENKINS-42730 declarative-linter don't work with shared library
-
- Open
-
- relates to
-
JENKINS-37825 Pipeline Model: Add the ability to load shared libraries in the model
-
- Closed
-
-
JENKINS-41396 Add method definition section to root pipeline block
-
- Closed
-
- links to