【发布时间】:2014-04-10 02:25:20
【问题描述】:
我现在在使用 Jenkins 电子邮件时遇到问题。我试图在 $WORKSPACE 中附加一个类似 demo.html 的文件。但它没有用。我刚收到一封附有 build.log 的电子邮件。有人能找出问题所在吗?
我现在怀疑电子邮件是否在 Jenkins master 中处理,而我的工作是在 slave 中工作。是这个原因吗?
这是在可编辑电子邮件通知中提交的附件。我用“*.html”填充它
============
附件 *.html
============
我也在附件字段中尝试了 ./*.html,但没有成功。
构建日志的一部分:
completed with result SUCCESS
Checking if email needs to be generated
Email was triggered for: Success
Sending email for trigger: Success
NOT overriding default server settings, using Mailer to create session
messageContentType = text/plain; charset=UTF-8
Request made to attach build log
Adding recipients from recipient list
Adding developers
Successfully created MimeMessage
Sending email to: test999922@hotmail.com
Finished: SUCCESS
【问题讨论】:
-
您使用的是哪个电子邮件插件?
-
抱歉,我不确定。在我参与之前,Jenkins 服务器已经设置好了。
标签: linux email jenkins attachment