-
-
Notifications
You must be signed in to change notification settings - Fork 140
Previous doConsoleText override failed to work past LargeText.MAX_LINES_READ #113
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
dwnusbaum
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me assuming @kshultzCB confirms it fixes the issue he was seeing.
|
more CI problems |
svanoort
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This needs some form of unit test
| // Similar to writeWholeLogTo but terminates even if !logText.complete: | ||
| long pos = 0; | ||
| while (true) { | ||
| long pos2 = getLogText().writeLogTo(pos, os); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Interesting possibility: what if the log is being generated faster than it can be written to output?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Then I guess you are going to be swamped with output. Not much we can do about that.
|
|
…enkinsci/workflow-job-plugin#113 I cannot seem to remember to do it.
…enkinsci/workflow-job-plugin#113 I cannot seem to remember to do it. (cherry picked from commit b2ce2bd)
Fix to #112 discovered by @kshultzCB.