如何配置 Hudson 为每个构建发送电子邮件,而不仅仅是那些更改项目状态的构建?
我最近将 CI 服务器从旧版本的 CruiseControl 迁移到 Hudson。 CruiseControl 唯一让我怀念的功能是能够接收每个构建的电子邮件构建通知,而不仅仅是那些导致项目状态发生变化的通知。
我对所有成功构建的构建通知特别感兴趣。
有人在做这个吗? 或者我是时候学习Hudson插件开发了?
I've recently migrated my CI server from an old version of CruiseControl to Hudson. The only feature I miss from CruiseControl is the ability to receive email build notices of EVERY build, not just those that cause the status of the project to change.
I'm ESPECIALLY interested in build notifications for all successful builds.
Anyone out there doing this? Or is it time for me to learn Hudson plugin development?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
您想要安装 Email-ext 插件。 它将允许您为每个版本配置电子邮件通知。
我用它来发送电子邮件以获得成功的构建。 您可以将其配置为将电子邮件发送给提交者或固定的收件人列表。
You want to install the Email-ext plugin. It will allow you to configure emails notices for each build.
I use it to send emails for successful builds. You can configure it send the email to the committers, or a fixed list of recipients.
配置项目时,在“可编辑电子邮件通知”下,有一个
按钮“高级...”,单击该按钮后,会显示许多项目,包括
标有“添加触发器:”的下拉菜单。 选项之一是“成功”。
When configuring your project, under "Editable Email Notification", there is a
button "Advanced...", which, upon clicking, reveals a number of items, including
a dropdown labelled "Add a trigger:". One of the options is "Success".
单击
Hudson->ManageHudson->configure System
后,您不应看到此错误消息。 然后您配置电子邮件。You should not see this error message after you click on
Hudson->ManageHudson->configure System
. Then you configure email.