Jenkins provide XML apis to view build related status:
E.g.: URL/job/JOBNAME/lastCompletedBuild/testReport/api/xml will show test results for latest build.
Is there a way to send the content of this page/api via email?
If NOT , is there a way to send only summary of Junit status (packages / suites) on email like this (this view is seen on URL/job/JOBNAME/lastCompletedBuild/testReport/api/xml):
(The report generated through Publish Email report is very big and sending it via ${FILE, "index.html"}
results in a very large & ugly email. Also I am not using testNg.)