Hello,
I would like to generate a mail-report that contains the log excerpts of
the failed steps
of a pipeline.
The scenario is that a pipeline job runs a compilation on different
nodes (e.g.
Ubuntu, Windows, ...).
In case on of the steps fails I would like to include the success/failed
markers of the pipeline steps
in the mail-report as well as an excerpt of the console log of the
particular step (say, compilation on Windows).
I started by trying to understand the following email-ext example template:
https://github.com/jenkinsci/email-ext-plugin/blob/master/docs/templates/jenkins-matrix-email-html.template
... which seems to do a similar thing for a matrix job.
So far I don't really know how to get the information I need in the
template.
Is this what I need?
https://javadoc.jenkins.io/plugin/workflow-api/org/jenkinsci/plugins/workflow/flow/package-summary.html
Or how can I loop through the pipeline steps and get their console-log?
David
--
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 jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/jenkinsci-users/384df83c-d922-553d-cd15-f57aab9ae553%40sourco.de.