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

Add a LibraryStep for loading shared libraries within a Pipeline

    Details

    • Similar Issues:

      Description

      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

        Attachments

          Issue Links

            Activity

            abayer Andrew Bayer created issue -
            abayer Andrew Bayer made changes -
            Field Original Value New Value
            Remote Link This issue links to "WiP PR #14 (Web Link)" [ 15011 ]
            abayer Andrew Bayer made changes -
            Link This issue is blocking JENKINS-38110 [ JENKINS-38110 ]
            jglick Jesse Glick made changes -
            Assignee Jesse Glick [ jglick ]
            jglick Jesse Glick made changes -
            Status Open [ 1 ] In Progress [ 3 ]
            jglick Jesse Glick made changes -
            Link This issue relates to JENKINS-40560 [ JENKINS-40560 ]
            abayer Andrew Bayer made changes -
            Link This issue blocks JENKINS-41335 [ JENKINS-41335 ]
            bitwiseman Liam Newman made changes -
            Link This issue relates to JENKINS-42079 [ JENKINS-42079 ]
            jglick Jesse Glick made changes -
            Status In Progress [ 3 ] In Review [ 10005 ]
            jglick Jesse Glick made changes -
            Remote Link This issue links to "WiP PR #14 (Web Link)" [ 15011 ]
            jglick Jesse Glick made changes -
            Remote Link This issue links to "PR 14 (Web Link)" [ 15502 ]
            jglick Jesse Glick made changes -
            Link This issue is blocked by JENKINS-37227 [ JENKINS-37227 ]
            jglick Jesse Glick made changes -
            Remote Link This issue links to "jenkins.io PR 712 (Web Link)" [ 15515 ]
            jglick Jesse Glick made changes -
            Status In Review [ 10005 ] Resolved [ 5 ]
            Resolution Fixed [ 1 ]
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Jesse Glick
            Path:
            content/doc/book/pipeline/shared-libraries.adoc
            http://jenkins-ci.org/commit/jenkins.io/d01997e9bb747aec804900d294156377828f6cc6
            Log:
            JENKINS-39450 Documenting library step.

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Jesse Glick Path: content/doc/book/pipeline/shared-libraries.adoc http://jenkins-ci.org/commit/jenkins.io/d01997e9bb747aec804900d294156377828f6cc6 Log: JENKINS-39450 Documenting library step.
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: R. Tyler Croy
            Path:
            content/doc/book/pipeline/shared-libraries.adoc
            http://jenkins-ci.org/commit/jenkins.io/e1e6b15eb89a70814c190dda90d3f22c1730e051
            Log:
            Merge pull request #712 from jglick/LibraryStep-JENKINS-31155

            JENKINS-39450 Documenting library step

            Compare: https://github.com/jenkins-infra/jenkins.io/compare/91d352197897...e1e6b15eb89a

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: R. Tyler Croy Path: content/doc/book/pipeline/shared-libraries.adoc http://jenkins-ci.org/commit/jenkins.io/e1e6b15eb89a70814c190dda90d3f22c1730e051 Log: Merge pull request #712 from jglick/LibraryStep- JENKINS-31155 JENKINS-39450 Documenting library step Compare: https://github.com/jenkins-infra/jenkins.io/compare/91d352197897...e1e6b15eb89a

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: