Hi all, I'm trying to retrieve the end of the build log. Basically through something like build.getLogFromTheEnd(int maxLines).
Through build.getLog*() I can't see to find the right one to do it easily. As Jenkins already does it when displaying the console log and skipping its beginning, I thought I would be able to reuse something existing. So, two questions: - Is there a better way than doing a getLogFile() and doing myself the file manipulation for this use case? - If I end up doing it, would there be any interest of considering a PR to add this feature directly in hudson.model.Run along other getLog* methods? Or is it already considered a bad idea? Thanks for you feedback -- Baptiste -- 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.
