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

Steps from shared libraries should be available from the editor

      Pipeline library functions ideally would show up "like" steps in the blue ocean editor. 

      This may require additional type information so the REST API can furnish the editor with the meta data as needed. If the functions were delivered via a plugin, say like https://github.com/jenkinsci/simple-build-for-pipeline-plugin - then there is a possibility for an interface to be used that can be discovered to provide the meta data needed to make the function calls "look like" a step (ie blue ocean can lookup function extension metadata, and service it up for the editor). Libraries don't have type information now, so a mechanism like this would be acceptable for those that want to have the metadata/editor support. 

       

      – Original –

      The only thing holding us back from starting to use the pipeline editor is an inability to include our shared groovy library steps. I'm not sure the level of effort that would be required to have them in the pipeline editor, but at this point a large chunk of our Jenkinsfiles are made up of calls to our shared libraries, and we currently have to ask people to avoid using the editor because they can't even see the documentation for those libraries while in blue ocean.

          [JENKINS-43445] Steps from shared libraries should be available from the editor

          Spencer Malone created issue -
          James Dumay made changes -
          Epic Link New: JENKINS-36291 [ 172300 ]
          James Dumay made changes -
          Summary Original: Support for Shared Groovy Libraries New: Steps from shared libraries should be available from the editor
          James Dumay made changes -
          Labels New: cloudbees-internal-blueocean
          James Dumay made changes -
          Sprint New: Blue Ocean 1.2 [ 326 ]
          James Dumay made changes -
          Rank New: Ranked lower
          James Dumay made changes -
          Assignee Original: James Dumay [ jamesdumay ]
          James Dumay made changes -
          Sprint Original: Blue Ocean 1.2 [ 326 ] New: Blue Ocean 1.3 [ 296 ]
          James Dumay made changes -
          Rank New: Ranked lower
          James Dumay made changes -
          Assignee New: Andrew Bayer [ abayer ]
          James Dumay made changes -
          Sprint Original: Blue Ocean 1.3-beta-2 [ 296 ] New: Blue Ocean 1.4 [ 311 ]

            Unassigned Unassigned
            spencermalone Spencer Malone
            Votes:
            10 Vote for this issue
            Watchers:
            14 Start watching this issue

              Created:
              Updated: