diff --git a/email-notifications/Jenkinsfile b/email-notifications/Jenkinsfile index 622a6a6a..f0ccba3f 100644 --- a/email-notifications/Jenkinsfile +++ b/email-notifications/Jenkinsfile @@ -24,10 +24,7 @@ node { def content = '${JELLY_SCRIPT,template="html"}' // send email - if(to != null && !to.isEmpty()) { - emailext(body: content, mimeType: 'text/html', - replyTo: '$DEFAULT_REPLYTO', subject: subject, - to: to, attachLog: true ) + echo " Success." } // mark current build as a failure and throw the error