Email-ext plugin
https://wiki.jenkins.io/display/JENKINS/Email-ext+plugin
General
This plugin extends Jenkins built in email notification functionality by giving you more control. It provides customization of 3 areas.
- Triggers - Select the conditions that should cause an email notification to be sent.
- Content - Specify the content of each triggered email's subject and body.
- Recipients - Specify who should receive an email when it is triggered.
Configuration
Global configuration
Before using email-ext on a project, you must configure some global settings. Go to Jenkins System configuration page. Manage Jenkins -> Configure System
The section titled Extended E-mail Notification is where you can configure global email-ext properties. The properties here should match the settings for your smtp mail server. This section is set up to mirror Jenkins own email Publisher Reporter (It's different extension point), however there are a few additions. The inputs labeled Default Subject and Default Content, allow you to configure the email content on a global level. The input labeled Default Recipients can be used to set a default list of email addresses for all projects using plugin (it can be overridden at the project level). This can be used to greatly simplify the configuration you need to do for all projects.
在全局配置中,section名字为Extended E-mail Notification。其中配置recipients的配置,
Customize the default recipient list of the email notifications. The plugin will use this list if none is overridden in the project configuration. You may use the $DEFAULT_RECIPIENTS token in projects to include this default list, as well as add new addresses at the project level. To CC or BCC someone instead of putting them in the To list, add cc: or bcc: before the email address (e.g., cc:someone@example.com, bcc:bob@example.com).
分隔符是“逗号+空格”
作者:Chuck Lu GitHub |
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· 记一次.NET内存居高不下排查解决与启示
· 探究高空视频全景AR技术的实现原理
· 理解Rust引用及其生命周期标识(上)
· 浏览器原生「磁吸」效果!Anchor Positioning 锚点定位神器解析
· 没有源码,如何修改代码逻辑?
· 全程不用写代码,我用AI程序员写了一个飞机大战
· DeepSeek 开源周回顾「GitHub 热点速览」
· MongoDB 8.0这个新功能碉堡了,比商业数据库还牛
· 记一次.NET内存居高不下排查解决与启示
· 白话解读 Dapr 1.15:你的「微服务管家」又秀新绝活了
2017-05-29 Id选择器和Class选择器
2015-05-29 将Ftp添加到资源管理器中直接使用
2015-05-29 SQLiteParameter不能将TableName作为参数