On Fri, Jan 19, 2018 at 2:06 PM, Tim Webster <
tim.w...@gmail.com> wrote:
> Could I use 'contextual' ConsoleLogFilter to do what I need then?
If what you need is simply to *copy* all log lines somewhere else,
performance be damned, and you do not mind this being configured on a
per-job basis, then yes you could just make a `SimpleBuildWrapper`
defining a `ConsoleLogFilter`, which would work from either freestyle
projects (with a “build environment”) or Pipeline (with a block-scoped
step).
JENKINS-38381 would define a different API allowing the entire build
log to be sent to an external sink as the authoritative record,
meaning
· `$JENKINS_HOME/jobs/*/builds/*/log` need not even exist (except
perhaps as a cache)
· text produced by external processes launched on agents can be
streamed directly from there, never going over the Remoting channel to
the master