Hi,
we're trying to parse any pipeline logs with TaskListenerDecorator to detect some pattern and report with a custom action attached to the run. It's working fine on agents by default but not when
org.jenkinsci.plugins.workflow.steps.durable_task.DurableTaskStep.USE_WATCHING is true. In that case it only works on the builtin node.
The issue is that the TaskListenerDecorator eventually needs the Run to set the action on, and this run is null when executed on agent. How can I pass this Run instance so it's available on agents ?
Thanks
Alexis