Jenkins email-ext插件不发送邮件 [英] Jenkins email-ext plugin not sending mail

查看:494
本文介绍了Jenkins email-ext插件不发送邮件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在计算机上安装了Jenkins版本1.480.3,并安装了电子邮件扩展插件2.30.2.

I have Jenkins version 1.480.3 installed on my machine and Email-Extention Plugin 2.30.2.

"Manage Jenkins"部分中的测试邮件运行正常.当我将可编辑的电子邮件通知添加到我的工作时,我没有收到它.

Test mail from "Manage Jenkins" section works fine. When I add editable email notification to my jobs, I am not receiving it.

还尝试在可编辑的电子邮件通知高级部分中配置触发器".那也没有用.构建的控制台日志显示电子邮件已触发.

Also tried configuring "Triggers" in editable email notification advanced section. That also didn work. Console logs of build shows email has been triggered.

有人可以帮我调试一下吗?

Can someone help me on how to debug this?

推荐答案

首先,您必须创建一个模板 http ://url-to-jenkins/emailexttemplates/. 在项目收件人列表" 字段中,您可以添加一些电子邮件(以逗号分隔). 您还可以使用以下命令插入全局变量(管理Jenkins>配置系统>全局属性):

${ENV, var="PATH"}

At first you have to create a template http://url-to-jenkins/emailexttemplates/. In the field "Project Recipient List" you can add some emails (comma separated). You can also insert global variables (Manage Jenkins > Configure System > Global properties) with:

${ENV, var="PATH"}

高级设置..." 选项提供了触发器管理,只需添加收件人列表",现在您应该会收到詹金斯的一些电子邮件.

The "Advanced Settings..." option provides a trigger management, just add "Recipient List" and now you should get some emails by Jenkins.

这篇关于Jenkins email-ext插件不发送邮件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆