Jenkins plain text console output not in real time

两盒软妹~` 提交于 2019-12-24 06:50:59

问题


The "html" version console output works fine for me and displays real time from console.

But when I switch to the plain text version (i.e.

), it doesn't work.

It only display a small portion of console output until build is complete then it shows full output.

For now the problem only exist on console output that is longer than 5k lines.

Jenkins version: 1.477


回答1:


That is because output is truncated by default around 5k lines, so the full text will always pull the last 5k while the build is in progress, similar to the way the HTML view will only show about 5k lines until you click the "Show Full Output" button.

Once the build completes, the full output gets dumped to plain text, so the entire output is shown.



来源:https://stackoverflow.com/questions/13388217/jenkins-plain-text-console-output-not-in-real-time

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!