I'm trying to use the Extended E-mail Notification plugin to email me when a build fails. I keep getting this error:
An attempt to send an e-mail to empty list of recipients, ignored.
I'm trying to send the email from a declarative pipeline
like this:
emailext body: 'Check console output at $BUILD_URL to view the results. \n\n ${CHANGES} \n\n -------------------------------------------------- \n${BUILD_LOG, maxLines=100, escapeHtml=false}',
subject: 'Build succeeded in Jenkins: $PROJECT_NAME - #$BUILD_NUMBER'
regardless of how I have the Default recipients set up in the system configs, shouldn't that work?
--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
[hidden email].
To view this discussion on the web visit
https://groups.google.com/d/msgid/jenkinsci-users/bfce2817-c978-4aee-a5fc-e5d2e9b093fdn%40googlegroups.com.