Why are Jenkins “extended emails” not including extended information?

谁说我不能喝 提交于 2019-12-04 00:24:21

In the Post build actions section, delete the E-mail notification altogether. This will ensure your instance is using only Editable email notification

This is possible in my version (1.477), not sure when this function of adding/deleting post-build actions released.

You need to un-check the box for default email notifications and then add your recipients list to the extended email configuration. Using the $DEFAULT_RECIPIENTS will only work if you have configured defaults.

There are several issues. First, you need to add a default recipient in the global config screen. The per job configuration is broken. The author claims it should not appear anymore, but it still does in the latest version.

Second, you should try specifying the content in the per job box. Delete the $DEFAULT_CONTENT and replace it with your template.

In my install, I was able to get it to work by doing that. I also had to hit advanced (in the per job config) and explicitly set triggers before it would send me email.

I've had trouble getting unit test failures to print, but CHANGES works.

this

In the job configuration page, go to the Editable Email Notification section. At the bottom of this section you can add triggers via a dropdown box you get after you've clicked on the Advanced... button. When I first configured the email notifications, there was no trigger defined, and no email was sent out.

If you always want an email sent out, use the Before build trigger. Then add a checkbox to determine the recipients of the email for this trigger. If you want all email addresses in $DEFAULT_RECIPIENTS, then click the checkbox at Send To Recipient List.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!