简体   繁体   English

发送带有参数化詹金斯工作的电子邮件

[英]Send email with parameterized jenkins job

I have created a parameterized jenkins job where one of the parameters is the users email address. 我创建了一个参数化的詹金斯工作,其中一个参数是用户的电子邮件地址。 I want to notify the user if the build fails via email. 如果通过电子邮件构建失败,我想通知用户。 In the configuration, I see a checkbox named "Send separate e-mails to individuals who broke the build." 在配置中,我看到一个名为“向破坏构建的个人发送单独的电子邮件”的复选框。 I have this checked. 我已经检查过了。 However, I am not receiving an email when my email is in the parameter and I break the build. 但是,当我的电子邮件位于参数中并且中断构建时,我没有收到电子邮件。 If you need more info, let me know. 如果您需要更多信息,请告诉我。

Thanks! 谢谢!

Which email notification plugin are you using ? 您正在使用哪个电子邮件通知插件?

I use editable email ext plugin and the fields to send emails can take values like $DEFAULT_RECIPIENTS etc 我使用可编辑的电子邮件ext插件,发送电子邮件的字段可以采用$ DEFAULT_RECIPIENTS等值

Job中的Jenkins Email Ext插件配置

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

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