Jenkins Email-ext插件-令牌 [英] Jenkins Email-ext plugin - tokens
问题描述
我正在使用 Jenkins Email-ext插件
在哪里可以找到电子邮件的html内容中可以引用的所有内容的列表?
Where can I find a list of all the things I can refer to in the html content of the email?
例如:我最近发现您可以使用以下命令将参数值放入邮件中:
For instance: I recently found out that you can put parameters values inside the mail using:
${ENV,var="variable_name"}
但是说我想获取构建日志或构建号或构建状态(通过失败). 您是否知道是否有文档列出了此插件中引用的所有数据.
But say that I want to get build log or build number or build status (passed fail). Do you know if there is a document listing all data that is referable in this plugin.
谢谢!
推荐答案
在作业配置页面上:
选中可编辑的电子邮件通知"框->找到内容令牌参考"(位于附件"和矩阵项目的触发器"之间)->单击其右侧的?
.
Check 'Editable Email Notification' box -> find 'Content Token Reference' (it's between 'Attachments' and 'Trigger for matrix projects') -> Click on ?
to the right side of it.
这篇关于Jenkins Email-ext插件-令牌的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!