• Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Major Major
    • blueocean-plugin
    • None
    • Blue Ocean 1.0-rc3, Blue Ocean 1.0-rc4

      The api to load steps is paginated. Currently only the first page is loaded. 

      When a user clicks on a node, it should load and display the steps using this pagination (ie keep loading and appending until there are no more). 

       

      This should be able to generate loads of steps I think: 

       

      Using the following pipelineScript and https://github.com/scherler/blueocean-shared-library/commit/43d5620a42d7795b43bc829d694c3cae2a3c3919

      @Library('test-writer') import writeTest
      import longLog
      node {
          stage 'fin'
          def xml = writeTest()
          sh "echo '$xml' > TEST-some.xml"
          step([$class: 'JUnitResultArchiver', testResults: 'TEST-*.xml'])
          sh 'echo `date` fin;sleep 3; echo `date` fin;'
          sh 'echo yeah > foo.txt'
          archiveArtifacts 'foo.txt'
          longLog(10000, false)
          stage 'NoSteps'
      }

          [JENKINS-42781] Load more than 100 steps in a node

          Michael Neale created issue -
          Michael Neale made changes -
          Epic Link New: JENKINS-35750 [ 171713 ]
          Michael Neale made changes -
          Description Original: The api to load steps is paginated. Currently only the first page is loaded. 


          When a user clicks on a node, it should load and display the steps using this pagination (ie keep loading and appending until there are no more). 
          New: The api to load steps is paginated. Currently only the first page is loaded. 

          When a user clicks on a node, it should load and display the steps using this pagination (ie keep loading and appending until there are no more). 

           

          This should be able to generate loads of steps I think: 

           

          Using the following pipelineScript and [https://github.com/scherler/blueocean-shared-library/commit/43d5620a42d7795b43bc829d694c3cae2a3c3919]
          {code:java}
          @Library('test-writer') import writeTest
          import longLog
          node {
              stage 'fin'
              def xml = writeTest()
              sh "echo '$xml' > TEST-some.xml"
              step([$class: 'JUnitResultArchiver', testResults: 'TEST-*.xml'])
              sh 'echo `date` fin;sleep 3; echo `date` fin;'
              sh 'echo yeah > foo.txt'
              archiveArtifacts 'foo.txt'
              longLog(10000)
              stage 'NoSteps'
          }{code}
          Michael Neale made changes -
          Link New: This issue relates to JENKINS-41897 [ JENKINS-41897 ]
          Thorsten Scherler made changes -
          Description Original: The api to load steps is paginated. Currently only the first page is loaded. 

          When a user clicks on a node, it should load and display the steps using this pagination (ie keep loading and appending until there are no more). 

           

          This should be able to generate loads of steps I think: 

           

          Using the following pipelineScript and [https://github.com/scherler/blueocean-shared-library/commit/43d5620a42d7795b43bc829d694c3cae2a3c3919]
          {code:java}
          @Library('test-writer') import writeTest
          import longLog
          node {
              stage 'fin'
              def xml = writeTest()
              sh "echo '$xml' > TEST-some.xml"
              step([$class: 'JUnitResultArchiver', testResults: 'TEST-*.xml'])
              sh 'echo `date` fin;sleep 3; echo `date` fin;'
              sh 'echo yeah > foo.txt'
              archiveArtifacts 'foo.txt'
              longLog(10000)
              stage 'NoSteps'
          }{code}
          New: The api to load steps is paginated. Currently only the first page is loaded. 

          When a user clicks on a node, it should load and display the steps using this pagination (ie keep loading and appending until there are no more). 

           

          This should be able to generate loads of steps I think: 

           

          Using the following pipelineScript and [https://github.com/scherler/blueocean-shared-library/commit/43d5620a42d7795b43bc829d694c3cae2a3c3919]
          {code:java}
          @Library('test-writer') import writeTest
          import longLog
          node {
              stage 'fin'
              def xml = writeTest()
              sh "echo '$xml' > TEST-some.xml"
              step([$class: 'JUnitResultArchiver', testResults: 'TEST-*.xml'])
              sh 'echo `date` fin;sleep 3; echo `date` fin;'
              sh 'echo yeah > foo.txt'
              archiveArtifacts 'foo.txt'
              longLog(10000, false)
              stage 'NoSteps'
          }{code}
          Matias Moreno made changes -
          Rank New: Ranked higher
          Matias Moreno made changes -
          Epic Link Original: JENKINS-35750 [ 171713 ] New: JENKINS-32387 [ 167497 ]
          James Dumay made changes -
          Link New: This issue relates to JENKINS-39770 [ JENKINS-39770 ]
          Daniel Beck made changes -
          Epic Link Original: JENKINS-32387 [ 167497 ] New: JENKINS-35750 [ 171713 ]
          James Dumay made changes -
          Sprint Original: Blue Ocean 1.0-rc3 [ 261 ] New: Blue Ocean 1.0-rc3, Blue Ocean 1.0-rc4 [ 261, 281 ]

            Unassigned Unassigned
            michaelneale Michael Neale
            Votes:
            14 Vote for this issue
            Watchers:
            15 Start watching this issue

              Created:
              Updated: