I can "get by" inside the Jenkins JVM, but I am no guru.
So I am in the middle of my Groovy Template and need to log a few lines of output into the job's console output.
I have the build variable and it seems to me that from there I should be able to find the console . . . but I have yet to figure that out (if it is possible at all).
The logger you passed me seems to be TaskLister.NULL, so that isn't useful.
Your ExtendedEmailPublisherContext contains a pointer to the Listener . . . but there is no way to get to that instance that I can see, though if I am wrong, please enlighten me.
It doesn't have to be pretty . . . I am willing to jump from object to object to find the damn thing, I just have yet to figure out a path to it.
I have thought of going back up to the project and searching out the EmailExt plugin from there, but I doubt that will be helpful because it won't be a "build specific" copy. Though perhaps having found that, there is a way to jump to the build specific copy . . . if so please.
If there is a way . . . please enlighten me.