Use extended email to send emails on failed build

This commit is contained in:
Dan Hawkins 2021-11-21 09:33:50 +00:00
commit 404cdef36b

View file

@ -12,6 +12,7 @@ pipeline {
stage('Dummy build job') {
steps {
script {
echo "Params:\n${params.toString()}"
echo "Execute dummy build job: ${CAUSE_ERROR}"
if (CAUSE_ERROR == true) {
error("Causing error")