Use extended email to send emails on failed build

This commit is contained in:
Dan Hawkins 2021-11-20 21:17:53 +00:00
commit f41825d4b4

View file

@ -13,7 +13,7 @@ pipeline {
steps {
script {
echo "Execute dummy build job: ${CAUSE_ERROR}"
if (CAUSE_ERROR) {
if (CAUSE_ERROR == true) {
error("Causing error")
}
}