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

Scrolling behaviour of streaming log

XMLWordPrintable

    • 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"
                  }
              }
          }
      }
      

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

              Created:
              Updated:
              Resolved: