On Tue, Apr 11, 2017 at 12:47 PM, pallen <[email protected]> wrote:
> If I mark my use of TaskListener listener as transient then no exception?

Yes the `TaskListener` field must be `transient`. It cannot be
serialized as part of the program state. (While it is marked
`Serializable`, that is only for serializing over a Remoting
`Channel`—very different.)

> However no logs for my DSL task

I am afraid I do not follow.

-- 
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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/CANfRfr1xXf8cWh_NcHTkBbuA7Y89Tq5tpw3pwVpPXQLFCvro%2BA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to