Jenkins gives following after completing test execution:
Error sending to the following INVALID addresses: valid emailid
jenkins build log:
Build step 'Execute shell' marked build as failure
Email was triggered for: Failure
Sending email for trigger: Failure
Sending email to: valid emailid
Error sending to the following INVALID addresses : valid emailid
Finished: FAILURE
I was getting this error too, and in the build log Jenkins displayed the "invalid address" error, but listed a valid email address.
I fixed it by going to "Manage Jenkins" -> "Configure System" and set "System Admin e-mail address" under "Jenkins Location" to a valid email address (the default was something like address not set <[email protected]>
).
I'm using the Email-ext plugin.
I have also met this question.
I installed a plugin called Email Extension Plugin, but forgot to configure it. When I build the item, Jenkins put out that message.
Configure the jenkins > configure > Extended E-mail Notification completely, than your problem should be fixed.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With