Take a simple pipeline like:

      stage "starting"
      node {    
          stage "building"
              sh "echo 42"
          stage "testing"
              sh "echo 43"
      }
      

      There is a bunch of work done by jenkins that is no reflected in the nodes returned for a stage:

      Started by user mic@goo.com
      [Pipeline] stage (starting)
      Entering stage starting
      Proceeding
      [Pipeline] node
      Running on master in /Users/michaelneale/projects/paas/blueocean/blueocean-plugin/work/workspace/pipey
      [Pipeline] {
      [Pipeline] stage (building)
      Entering stage building
      Proceeding
      [Pipeline] sh
      [pipey] Running shell script
      + echo 42
      42
      [Pipeline] stage (testing)
      Entering stage testing
      Proceeding
      [Pipeline] sh
      [pipey] Running shell script
      + echo 43
      43
      [Pipeline] }
      [Pipeline] // node
      [Pipeline] End of Pipeline
      Finished: SUCCESS
      

      would it make sense to expose some of these "jenkins" nodes in the stage that they really come under (like starting the build, fetching a node, workspace etc).

      Whilst showing all steps in a flowNode may be possible, showing these "synthetic" steps along with the users steps makes sense.

          [JENKINS-35846] Expose "jenkins" contributed steps/flownodes

          James Dumay created issue -

          Michael Neale added a comment -

          Note that one plugin actually uses the full flownode graph to display this:

          code: https://github.com/jenkinsci/pipeline-view-plugin

          I don't think it makes sense to show this in the stage graph, other than very simple flows, but it is useful information to show in the step listing.

          Michael Neale added a comment - Note that one plugin actually uses the full flownode graph to display this: code: https://github.com/jenkinsci/pipeline-view-plugin I don't think it makes sense to show this in the stage graph, other than very simple flows, but it is useful information to show in the step listing.
          Michael Neale made changes -
          Link New: This issue blocks UX-501 [ UX-501 ]
          James Dumay made changes -
          Labels New: api
          James Dumay made changes -
          Epic Link Original: UX-165 [ 25873 ] New: UX-70 [ 25240 ]

          Michael Neale added a comment -

          jdumay synthetic steps - I believe there is a backend ticket for exposing it but I am not sure where it is. We may want to differentiate how it is shown in the GUI as there can be a lot of them.

          Michael Neale added a comment - jdumay synthetic steps - I believe there is a backend ticket for exposing it but I am not sure where it is. We may want to differentiate how it is shown in the GUI as there can be a lot of them.
          V R made changes -
          Project Import New: Tue Jun 14 12:50:41 JST 2016 [ 1465876241198 ]
          R. Tyler Croy made changes -
          Project Import New: Wed Jun 15 02:53:18 UTC 2016 [ 1465959198925 ]
          James Dumay made changes -
          Labels Original: api New: api blueocean-imported
          James Dumay made changes -
          Component/s New: blueocean-plugin [ 21481 ]
          Key Original: UX-519 New: JENKINS-35846
          Workflow Original: Product Backlog April 2016 V2 [ 172330 ] New: JNJira [ 172466 ]
          Project Original: User Experience [ 10600 ] New: Jenkins [ 10172 ]
          Status Original: To Do [ 10003 ] New: Open [ 1 ]

            Unassigned Unassigned
            jamesdumay James Dumay
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: