Reputation: 1254
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 ?
Upvotes: 2
Views: 3864
Reputation: 859
You can try using this plugin https://wiki.jenkins-ci.org/display/JENKINS/Build+Failure+Analyzer
Upvotes: 0
Reputation: 201
You can create two jobs , one is for triggering build for every check and one for running automation suite.
It may resolve your problem
Upvotes: 0
Reputation: 10927
You can attach build logs and any reports that your selenium has producing with the editable email notification.
Below is a screenshot of what you can do:
Attached Logs can give you Info on build
failure
and other details And reports can be customized
as you need.
More links:
Upvotes: 0