Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to present unit test graph in Jenkins email report?

I am using Jenkins to execute our unit tests and send emails to developers. I am using Jelly Script to include the pass/fail results in the email. However, I would also like to include the pass/fail graph that surefire reports presents to you after your testing build has finished. After all, it's the graph we are interested in looking at, right? :)

like image 811
user1340582 Avatar asked Nov 13 '12 08:11

user1340582


1 Answers

if your mail is in the html format, than you can access to the image via this url:

[JENKINS_URL]/job/[JOB_NAME]/test/trend

like image 165
Shurik Avatar answered Sep 29 '22 04:09

Shurik