Skip to content
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

Build log Output truncated. - print tail of log instead of head #138

Open
schmidtl25 opened this issue Dec 14, 2021 · 2 comments
Open

Build log Output truncated. - print tail of log instead of head #138

schmidtl25 opened this issue Dec 14, 2021 · 2 comments

Comments

@schmidtl25
Copy link

Dependencies

Feature Request

Our pipeline step prints a decent amount to the console logs:

wc ci_output/make.out
 3186  25671 294530 ci_output/make.out

When it fails, the majority of useful prints are at the end.

As an alternative, would it be possible to get publish the tail of the Build log?

Ideally I'd like to see the full Build log, but I don't know the reason(s) why it is currently getting truncated or what the limit is (Jenkins vs GitHub restrictions/limitations?)

@timja
Copy link
Member

timja commented Dec 14, 2021

It's a GitHub restriction 65535 bytes or so I think. and yes the tail makes sense and should be fine to swap to using that.
May be a bit more complex, but worth doing imo

@chris-kiick-sp
Copy link

+1 - the TruncatedString class already has a flag for this. Just need the option to set it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants