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

Blue Ocean does not show all steps in stage

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      Blue Ocean only shows up to 100 steps on Stage

      stage("Stage") {
      
          node("master") {
              for (int i = 0; i < 120; i++) {
                  println "Loop number " + i
              }
          }
      
      }
      

        Attachments

          Issue Links

            Activity

            djviking Sverre Moe created issue -
            Hide
            romenrg Romen Rodriguez-Gil added a comment -

            I've been looking at this and it seems that this is a pagination issue.

            The REST API seems to only be returning 100 elements, even though there are more.

            Looking at the Pagination classes in the corresponding module of the BlueOcean repo, I see that 100 is indeed the default value for pagination in the API.

            I first tried to figure out how to obtain the next page for steps, but it seems to me that the "/steps" API operation is missing the pagination implementation, so it is only returning the 100 first elements, as a default config.

            So this probably needs an API enhancement for that operation to include GET parameters to allow pagination. And then probably a change to the Front-end to add some sort of dynamic loader for steps when you scroll further than the first 100 elements, for instance. That would includes a few changes in the corresponding React components as well, to achieve that behavior

            Show
            romenrg Romen Rodriguez-Gil added a comment - I've been looking at this and it seems that this is a pagination issue. The REST API seems to only be returning 100 elements, even though there are more. Looking at the Pagination classes in the corresponding module of the BlueOcean repo, I see that 100 is indeed the default value for pagination in the API. I first tried to figure out how to obtain the next page for steps, but it seems to me that the "/steps" API operation is missing the pagination implementation, so it is only returning the 100 first elements, as a default config. So this probably needs an API enhancement for that operation to include GET parameters to allow pagination. And then probably a change to the Front-end to add some sort of dynamic loader for steps when you scroll further than the first 100 elements, for instance. That would includes a few changes in the corresponding React components as well, to achieve that behavior
            Hide
            lystor Mykola Ulianytskyi added a comment -

            Please fix this annoying bug.

            Default limit of 100 steps per stage is very small.

            Show
            lystor Mykola Ulianytskyi added a comment - Please fix this annoying bug. Default limit of 100 steps per stage is very small.
            Hide
            djviking Sverre Moe added a comment -

            Any chance this can be prioritised soon?

            Show
            djviking Sverre Moe added a comment - Any chance this can be prioritised soon?
            Hide
            djviking Sverre Moe added a comment -

            Seems to be related to JENKINS-42781

            Show
            djviking Sverre Moe added a comment - Seems to be related to JENKINS-42781
            djviking Sverre Moe made changes -
            Field Original Value New Value
            Link This issue relates to JENKINS-42781 [ JENKINS-42781 ]
            djviking Sverre Moe made changes -
            Link This issue relates to JENKINS-39770 [ JENKINS-39770 ]

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              djviking Sverre Moe
              Votes:
              4 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated: