how to send cucumber report content to recipient via email?

2,134 views
Skip to first unread message

Ashley Chen

unread,
Sep 16, 2015, 4:46:09 PM9/16/15
to Jenkins Users
Hi all,

I have set up a project on Jenkins and choose Post-build Action "Publish cucumber results as a report" and "Editable Email Notification". On jenkins, I can see cucumber reports after each build (with full content, like scenarios, steps, etc), but email only receive build result, like success/fail/aborted. 
Does anyone know how to send full cucumber reports to recipient? Use some plugins or change settings somewhere?

Thanks,
Ashley 

Slide

unread,
Sep 16, 2015, 4:58:32 PM9/16/15
to Jenkins Users

If you use Jelly or Groovy templates you can access the Jenkins api to retrieve the reports and place them into the email. You can look on github for examples of the templates.


--
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-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/cbd50e83-64bb-4927-b215-d2fb1d8d31a8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages