Extended E-mail Notification plugin not working

20 views
Skip to first unread message

Bob S

unread,
Jan 25, 2021, 4:37:46 PM1/25/21
to Jenkins Users

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}'
                from: "buildm...@mydomain.com"
                to: "m...@mydomain.com"
                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?

Bob S

unread,
Jan 25, 2021, 4:54:34 PM1/25/21
to Jenkins Users
aghhh I was just missing commas after my addresses
Reply all
Reply to author
Forward
0 new messages