selenium - Jenkins email notification for build failure due to compile error -
i have continuous integration setup using jenkins , integrated selenium scripts nightly build. have editable email notification sending emails in case of build failure.
the default content editable email notification is
$default_content
${jelly_script,template="text"}
${failed_tests}
this content give me clear picture if there fail in selenium script full stacktrace.
the problem that, if jenkins build got failed due compile error or other failure reasons, email notification not providing reason failure. says no tests ran.
how make jenkins send mail notification failure reason, if build got failed due compile time error ?
you can attach build logs , reports selenium has producing editable email notification.
below screenshot of can do:
attached logs can give info on build
failure
, other details , reports can customized
need.
more links:
Comments
Post a Comment