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: enter image description here

attached logs can give info on build failure , other details , reports can customized need.
more links:


Comments

Popular posts from this blog

javascript - Using jquery append to add option values into a select element not working -

Android soft keyboard reverts to default keyboard on orientation change -

jquery - javascript onscroll fade same class but with different div -