Jenkins 渲染 email-ext 模板以用于其他目的
我有一个HTML电子邮件模板代表我的管道结果。 我正在通过以下方式发送渲染模板:
emailext body: '${SCRIPT, template="feedback.template"}',
subject: "Full pipeline details",
mimeType: 'text/html',
to: "${config.to}"
我尝试通过Slack发送渲染的HTML报告:
slackUploadFile filePath: "<MY-rendered-html>", initialComment: "Full Report"
我无法弄清楚如何以其他目的获取渲染的电子邮件-template HTML,例如通过Slack发送HTML或将其上传到其他地方
I have an html email template the represents my pipeline result.
I'm sending the render template by:
emailext body: '${SCRIPT, template="feedback.template"}',
subject: "Full pipeline details",
mimeType: 'text/html',
to: "${config.to}"
I try to send the rendered html report also via slack by:
slackUploadFile filePath: "<MY-rendered-html>", initialComment: "Full Report"
I can't figure out how to get the rendered email-template html for other purpose like sending the html via slack or uploading it to somewhere else
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可以使用
saveOutput: true
选项You can use
saveOutput: true
option