Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

jenkins Error sending to the following INVALID addresses:[email protected]

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
like image 862
Pawan Singh Avatar asked Feb 17 '14 12:02

Pawan Singh


2 Answers

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.

like image 50
Scott Weldon Avatar answered Sep 21 '22 16:09

Scott Weldon


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.

like image 24
Back Ache Avatar answered Sep 19 '22 16:09

Back Ache