I have some jobs that spend a lot of time displaying progress bars as output.  
e.g.:

[STATUS] Starting analysis run
|0----------25-----------50----------75---------100|

*************************

When I look at the console output of these jobs in Jenkins, none of the 
progress bar shows up until the entire thing is done and it goes to the next 
line.  I traced this down to some code in 
core/src/main/java/hudson/model/LargeText.java , specifically the writeLogTo() 
function, which appears to explicitly look for the last newline instead of just 
including all available bytes up to the end of the file.

I'm trying to come up with a situation where it shouldn't return all the 
available data, but I'm having trouble thinking of one.  If I submit a patch to 
eliminate the line-by-line limitation, is that a change likely to be accepted, 
or is there some reason that behaviour is needed?

Eric

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to