How to use assertion failure in jelly script - jenkins Currently I'm ${JELLY_SCRIPT,template="html"} to view email report as:
*BUILD UNSTABLE*Build URLhttp://localhost/jenkins/job/TestJob/2/Project: TestJobDate of build:Wed, 29 Apr 2015 12:47:47 +0000Build duration:56 sec *CHANGES*No Changes *JUnit Tests*Name: (root) Failed: 2 test(s), Passed: 1 test(s), Skipped: 0 test(s), Total: 3 test(s) *Failed: TestCase1* *Failed: TestCase2* Here its showing failed test case but i want to send the email that can show the cause of failure. Any idea how to do it? -- 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/88e9a303-06b8-4280-a4cb-081dafefe05c%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.