邮件触发类型介绍(Triggers)

By default, the onlytrigger configured is the "Failure" trigger.  To add moretriggers, select one from the dropdown, and it will be added to the list. Once you have added a trigger, you have several options.  If you click "?"(question mark) next to a trigger, it will tell you what conditions must be metfor it to send an email.

  • Send to Recipient List(邮件发送给全局邮件列表配置的所有邮件地址) - Check this checkbox if you would like to have the email sent to the "Global Recipient List" configured above.
  • Send to Developers(发送给开发,谁check in就发送给谁) - Check this checkbox to send the email to anyone whochecked in code for the last build.  The plugin willgenerate an email address based on the committer's id and an appended "default email suffix" from Jenkins's global configuration page.  For instance, if a change was committed by someone with an id "first.last", and the default email suffix is "@somewhere.com", then an email will be sent to first.last@somewhere.com
  • Include Culprits(发送给所有提交代码的人,直到最后build成功) - If this is checked AND Send To Developers is checked, emails will include everyone who committed since the last successful build.
  • More Configuration(更多设置) - Configure properties at a per-trigger level.

    • Recipient List(邮件接收者) - A comma(逗号) (and whitespace) separated list of email address that should receive this email if it is triggered.  This list is appended to the "Global Recipient List" above.
    • Subject(指定项目名称) - Specify the subject line of the selected email.
    • Content(指定邮箱内容) - Specify the body of the selected email.
  • Remove - Click the delete button next to an email trigger to remove it from the configured triggers list.

Send to Developers(发送给开发,谁check in就发送给谁)配置介绍:

备注:

1、构建job中添加配置触发器

2、用户邮箱的配置,该开发者必须有自己的jenkins账户以及配置了邮箱

在Jenkins里面增加开发者账号

并且svn的账号和jenkins的ID保持一致

邮箱的合成:

从系统管理里面查看邮箱SMTP Server的后缀

从svn里面查看账号

最后合成的邮箱就是为:hubin@**.com

3、开发者上传了代码后,本机器第一次checkout,第二次就无法获取到最新代码更新者。

原文:http://blog.csdn.net/hwhua1986/article/details/47975257

最新文章

  1. python 列表生成式
  2. 改变Eclipse 中代码字体大小
  3. Visual Studio 代码折叠快捷键(摘要)
  4. 解决<a>文本本身带下划线和超链接下划线重合的问题
  5. Linux: Set OR Change The Library Path
  6. 使用OrderBy对List<Person>集合排序
  7. linux之ubuntu下php环境配置
  8. PeopleReady--办公学习类App产品
  9. ios打包ipa的四种实用方法
  10. POJ 3104 Drying(二分答案)
  11. Alamofire网络库进阶教程
  12. nginx基础入门
  13. ReactNative学习之Html基本标签使用
  14. PHP斐波那契数列有点不明白有哪位大佬能给讲讲思想以及实现过程
  15. Redis:MySQL算老几?
  16. cpu概念
  17. nodejs笔记之初识node
  18. BigDecimal用法总结
  19. Ansible安装 入门教程
  20. How to ignore files and directories in subversion?

热门文章

  1. pycharm中某些方法被标黄的原因及解决办法
  2. axure rp教程(四)动态面板滑动效果
  3. 记一次Entity Framework 项目的优化过程
  4. 04 JVM是如何执行方法调用的(上)
  5. activemq概念介绍
  6. Dos中查看mysql数据时 中文乱码
  7. Partition Refinement
  8. artTemplate模板引擎的不同使用方式
  9. nginx进行项目域名配置时提示Job for nginx.service failed
  10. redis批量删除脚本