Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-39450

Add a LibraryStep for loading shared libraries within a Pipeline

      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

          [JENKINS-39450] Add a LibraryStep for loading shared libraries within a Pipeline

          Andrew Bayer created issue -
          Andrew Bayer made changes -
          Remote Link New: This issue links to "WiP PR #14 (Web Link)" [ 15011 ]
          Andrew Bayer made changes -
          Link New: This issue is blocking JENKINS-38110 [ JENKINS-38110 ]
          Jesse Glick made changes -
          Assignee New: Jesse Glick [ jglick ]
          Jesse Glick made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          Jesse Glick made changes -
          Link New: This issue relates to JENKINS-40560 [ JENKINS-40560 ]
          Andrew Bayer made changes -
          Link New: This issue blocks JENKINS-41335 [ JENKINS-41335 ]
          Liam Newman made changes -
          Link New: This issue relates to JENKINS-42079 [ JENKINS-42079 ]
          Jesse Glick made changes -
          Status Original: In Progress [ 3 ] New: In Review [ 10005 ]
          Jesse Glick made changes -
          Remote Link Original: This issue links to "WiP PR #14 (Web Link)" [ 15011 ]
          Jesse Glick made changes -
          Remote Link New: This issue links to "PR 14 (Web Link)" [ 15502 ]

            jglick Jesse Glick
            abayer Andrew Bayer
            Votes:
            2 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: