I have continuous integration setup using jenkins and also integrated selenium scripts for nightly build. I also have editable email notification for sending emails in case of any build failure.
The default content for editable email notification is
$DEFAULT_CONTENT
${JELLY_SCRIPT,template="text"}
${FAILED_TESTS}
This content give me clear picture if there is any fail in the selenium script with full stacktrace.
The problem is that, if the jenkins build got failed due to compile error or any other failure reasons, the email notification is not providing any reason about the failure. It simply says No tests ran.
How to make jenkins to send mail notification with the failure reason, if the build got failed due to compile time error ?