Public bug reported:

Affects Version: Jenkins ver. 2.204.2

lsb_release -rd
Description:    Ubuntu 18.04.4 LTS
Release:        18.04


Problem:
The jenkins console is not updated on a newline ('\r') character, is is only 
updated when a linefeed ('\n') character is written.

Thus output from 'rsync --progress' is not visible until the rsync command 
finishes and then the job finishes or is terminated or a linefeed is printed 
(e. g. by echo command).
Thus it is not visible on a long running transfer, if the transfer is still 
ongoing or if the connection hangs. When aborting/finishing the job or when it 
prints a linefeed, everything printed so far including the newlines gets 
visible.

This is not caused by the job itself, as the following command
tail -f /var/lib/jenkins/jobs/<JobName>/builds/<BuildNumber>/log
outputs the console log as expected. Thus Jenkins has all information necessary 
to display the console as expected.

Expected behaviour:
When a newline occurs, the console of the jenkins job should also be updated in 
real time as it is when a linefeed occurs.

** Affects: jenkins (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1862545

Title:
  jenkins console is not updated on newline without linefeed

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/jenkins/+bug/1862545/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to