Hudson 电子邮件触发器

发布于 2024-10-07 15:55:01 字数 134 浏览 0 评论 0 原文

我喜欢使用 hudson ext-email 插件发送电子邮件,但使用与构建状态不同的触发器。我喜欢在构建过程中设置 hudson evn 或从 env 文件中读取它(使用 env-file 插件),并取决于他的值是否发送电子邮件。怎么做呢? 马尔辛先生

I like to send email using hudson ext-email plugin, but with diferent triger than build status. I like to set hudson evn during buil or read it from env file (using env-file plugin) and depends of his value send email or not. How to do that?
BR.Marcin

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

酷遇一生 2024-10-14 15:55:02

要根据构建中设置的环境变量有条件地发送电子邮件,您必须使用脚本语言,例如 Groovy

这是一篇文章< /a> 讨论如何在 Email-ext 中使用 Groovy 脚本。

To conditionally send out an email based on an environment variable set in the build, you'll have to use a scripting language such as Groovy.

Here's an article discussing how to use a Groovy script inside Email-ext.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文