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

后端 未结 4 2170
迷失自我
迷失自我 2021-02-19 12:19

We installed email-ext 2.24.1 into Jenkins 1.447. We set \"Extended Email Notification\" \"Default Content\" to

$PROJECT_NAME - Build # $BUILD_NUMBER - $

相关标签:
4条回答
  • 2021-02-19 12:27

    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.

    0 讨论(0)
  • 2021-02-19 12:31

    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.

    0 讨论(0)
  • 2021-02-19 12:43

    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.

    0 讨论(0)
  • 2021-02-19 12:45

    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.

    0 讨论(0)
提交回复
热议问题