Add a LibraryStep for loading shared libraries within a Pipeline

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      It'd be really nice to have a step that allowed you to load a shared library, rather than just having to use the annotations. This is specifically relevant for JENKINS-38110 in Declarative Pipelines - while we could figure out a way to handle translating the annotations between the Jenkinsfile format and the JSON format to be used by the editor, being able to have a libraries section that fit into the declarative syntax would be far preferable.

      There's work already in flight towards this at https://github.com/jenkinsci/workflow-cps-global-lib-plugin/pull/14

            Assignee:
            Jesse Glick
            Reporter:
            Andrew Bayer
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: