简体   繁体   English

如何在一个电子邮件线程中发送同一Jenkins作业的电子邮件通知

[英]How to send email notifications for the same Jenkins job in one email thread

I am using Jenkins Email-ext plugin to send email notifications when the job starts and in the end (if the job succeeded). 我正在使用Jenkins Email-ext插件在作业开始时和结束时(如果作业成功)发送电子邮件通知。 And I want those notifications to be part of one email thread (not separate emails with the same subject). 我希望这些通知成为一个电子邮件线程的一部分(而不是具有相同主题的单独电子邮件)。

I looked through all settings in global Jenkins config and experimented with different options of Editable Email Notification in Post Build section. 我浏览了全局Jenkins配置中的所有设置,并在“后期构建”部分中尝试了“可编辑电子邮件通知”的不同选项。 No luck so far. 到目前为止没有运气。

There is a feature request for Email-ext plugin to add "In-Reply-To" filed which, according to the request's description, should make it possible to see emails for the same job in one thread. Email-ext插件有一个功能请求,即添加“ In-Reply-To”字段,根据请求的描述,应该可以在一个线程中查看同一作业的电子邮件。 https://issues.jenkins-ci.org/browse/JENKINS-3089 The feature is implemented but I can't find this field anywhere. https://issues.jenkins-ci.org/browse/JENKINS-3089该功能已实现,但我在任何地方都找不到此字段。 I am using the latest version of the plugin (for now 2.40.5) 我正在使用最新版本的插件(目前为2.40.5)

插件自动添加了In-Reply-To,它是不可配置的。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM