Jenkins里邮件插件触发器配置和Send to Developers到底是什么意思(转)

邮件触发类型介绍(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

==>如有问题,请联系我:easonjim#163.com,或者下方发表评论。<==
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值