Jenkins email plugin doesn't send email to user who broke the build

前端 未结 4 1320
小蘑菇
小蘑菇 2020-12-16 11:50

I\'ve setup Jenkins to send emails only to users who broke the build using email-ext plugin, but I\'m getting this error:

Not sending mail to unregist

4条回答
  •  醉话见心
    2020-12-16 12:21

    Put the line bellow in your jenkins startup script

    -Dhudson.tasks.MailSender.SEND_TO_UNKNOWN_USERS=true
    

    The newest Jenkins security directive only allow sending mail to registered user. The line above bypass this configuration.

提交回复
热议问题