Extended E-mail Notification plugin not working

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Extended E-mail Notification plugin not working

Bob S

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: "[hidden email]"
                to: "[hidden email]"
                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.
Reply | Threaded
Open this post in threaded view
|

Re: Extended E-mail Notification plugin not working

Bob S
aghhh I was just missing commas after my addresses

On Monday, January 25, 2021 at 3:37:46 PM UTC-6 Bob S wrote:

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: "[hidden email]"
                to: "[hidden email]"
                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/6a592376-7979-42cc-b037-3306cbc11bd8n%40googlegroups.com.