Jenkins纯文本控制台输出不是实时的 [英] Jenkins plain text console output not in real time

查看:523
本文介绍了Jenkins纯文本控制台输出不是实时的的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

"html"版本的控制台输出对我而言效果很好,并可以从控制台实时显示.

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.

目前,该问题仅存在于超过5k行的控制台输出上.

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

Jenkins版本:1.477

Jenkins version: 1.477

推荐答案

这是因为默认情况下输出会被截断约5k行,因此在构建过程中,全文将始终提取最后5k在您单击显示完整输出"按钮之前,HTML视图将仅显示约5k行.

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.

这篇关于Jenkins纯文本控制台输出不是实时的的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆