• Blue Ocean 1.4 - beta 3, Blue Ocean 1.4 - beta 2, Blue Ocean 1.5 - beta 2

      Problem
      If I open a running step, I am not automatically taken to the bottom of the log. When I scroll to the bottom of the log, I must keep scrolling down to see new log lines as they arrive.

      Steps to reproduce

      1. Run the Pipeline defined in the example below
      2. Open the last step step, which should be running and outputting lines regularly
      3. You should see that you are not scrolled to the bottom of the log
      4. You should see that you have to keep scrolling to the bottom as new lines arrive

      Example

      pipeline {
          agent any
          stages {
              stage('1') {
                  steps {
                      echo 'Hello world'
                      echo 'Hello world'
                      echo 'Hello world'
                      echo 'Hello world'
                      echo 'Hello world'
                      echo 'Hello world'
                      echo 'Hello world'
                      echo 'Hello world'
                      echo 'Hello world'
                      echo 'Hello world'
                      echo 'Hello world'
                      echo 'Hello world'
                      echo 'Hello world'
                      echo 'Hello world'
                      echo 'Hello world'
                      echo 'Hello world'
                      echo 'Hello world'
                      echo 'Hello world'
                      echo 'Hello world'
                      echo 'Hello world'
                      echo 'Hello world'
                      echo 'Hello world'
                      echo 'Hello world'
                      echo 'Hello world'
                      echo 'Hello world'
                      echo 'Hello world'
                      echo 'Hello world'
                      echo 'Hello world'
                      echo 'Hello world'
                      echo 'Hello world'
                      echo 'Hello world'
                      echo 'Hello world'
                      echo 'Hello world'
                      echo 'Hello world'
                      echo 'Hello world'
                      echo 'Hello world'
                      sh "for i in {0..100}; do echo -e \"\$i\"'\r'; sleep 1; done; echo"
                  }
              }
          }
      }
      

          [JENKINS-47655] Scrolling behaviour of streaming log

          Karl Shultz added a comment -

          Testing Notes:

          • A manual, visual verification by a human is probably the best way to make sure that a change like this is nice looking, scrolls smoothly, etc.
          • An automated test could be added to verify that certain messages in a long log show up early, and scroll out of view late. Similarly, messages toward the end of the log shouldn't appear at the very beginning.

          Karl Shultz added a comment - Testing Notes: A manual, visual verification by a human is probably the best way to make sure that a change like this is nice looking, scrolls smoothly, etc. An automated test could be added to verify that certain messages in a long log show up early, and scroll out of view late. Similarly, messages toward the end of the log shouldn't appear at the very beginning.

          Josh McDonald added a comment -

          Duped by (and fixed as) JENKINS-49929

          Josh McDonald added a comment - Duped by (and fixed as)  JENKINS-49929

            sophistifunk Josh McDonald
            jamesdumay James Dumay
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: