• 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

          James Dumay created issue -
          James Dumay made changes -
          Description New: *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*
          # Run the Pipeline defined in the example below
          # Open the last step step, which should be running and outputting lines regularly
          # You should see that you are not scrolled to the bottom of the log
          # You should see that you have to keep scrolling to the bottom as new lines arrive

          *Example*
          {code}
          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"
                      }
                  }
              }
          }
          {code}
          James Dumay made changes -
          Epic Link New: JENKINS-43953 [ 181485 ]
          James Dumay made changes -
          Sprint New: Blue Ocean 1.4 - beta 2 [ 426 ]
          Assignee New: Josh McDonald [ sophistifunk ]
          James Dumay made changes -
          Sprint Original: Blue Ocean 1.4 - beta 2 [ 426 ] New: Blue Ocean 1.4 - beta 3, Blue Ocean 1.4 - beta 2 [ 416, 426 ]

          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.
          Karl Shultz made changes -
          Labels New: testing-notes-reviewed
          James Dumay made changes -
          Sprint Original: Blue Ocean 1.4 - beta 3, Blue Ocean 1.4 - beta 2 [ 416, 426 ] New: Blue Ocean 1.4 - beta 3, Blue Ocean 1.4 - beta 2, Blue Ocean 1.4 - beta 5 [ 416, 426, 451 ]
          Vivek Pandey made changes -
          Sprint Original: Blue Ocean 1.4 - beta 3, Blue Ocean 1.4 - beta 2, Blue Ocean 1.4 - beta 5 [ 416, 426, 451 ] New: Blue Ocean 1.4 - beta 3, Blue Ocean 1.4 - beta 2, Blue Ocean 1.5 - beta 1 [ 416, 426, 456 ]
          Vivek Pandey made changes -
          Rank New: Ranked higher

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

              Created:
              Updated:
              Resolved: