Hi Victor,

I checked the workspace after the pipeline job was executed, but there was
no html file under it.

I added some loggers to capture the logs of emailext plugin and executed
the plugin again, I received the email, but no output was captured for the
logger, the configuration is as follows:

[image: image.png]

[image: image.png]
the output of the logger is empty after I ran the pipeline.
[image: image.png]

Besides the emailext plugin provide the "Save to Workspac" option in a
freestyle job, but in *Snippet Generator* of pipeline syntax it doesn't
provide the option, is it possible to use this option in a pipeline syntax?
How can I figure out the list of parameter names accepted by a plugin in
pipeline syntax?

Thanks.



On Wed, Mar 27, 2019 at 8:15 PM Victor Martinez <
[email protected]> wrote:

> It should be stored in the root path of the workspace, according to the
> docs:
> https://github.com/jenkinsci/email-ext-plugin/blob/master/src/main/webapp/help/projectConfig/saveOutput.html#L3
>
> The name of the file would be <trigger>-<buildId>.html, further details
> about the implementation:
> -
> https://github.com/jenkinsci/email-ext-plugin/blob/e73d9f411b8d237de7125502fd4ba991d9faa9e1/src/main/java/hudson/plugins/emailext/ExtendedEmailPublisher.java#L914
>
> Did you use the above snippet within the node section?
>
> If it doesn't work you might need to add some loggers to validate what's
> going on. https://wiki.jenkins.io/display/JENKINS/Logging likely the name
> of the class to debug is: hudson.plugins.emailext.ExtendedEmailPublisher
>
>
>
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Jenkins Users" 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-users/47f8f443-3950-4aaf-9b14-ed16ab87eacd%40googlegroups.com
> <https://groups.google.com/d/msgid/jenkinsci-users/47f8f443-3950-4aaf-9b14-ed16ab87eacd%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" 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-users/CAF0Awah7%2BwKe3wYYqWUUup%3D%3DfyM7ykv7RRWqRtTQZKsZXeqwMw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to