jenkins console is not updated on newline without linefeed
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
jenkins (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
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/
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.