简体   繁体   English

全局环境变量由 Jenkins 扩展 Email 通知解析

[英]Global environment variable are resolving by Jenkins Extended Email notification

I am using Email extension version:2.81.我正在使用 Email 扩展版本:2.81。 I am facing issues while resolving environment variables.我在解决环境变量时遇到问题。 It was working fine few days ago.几天前它工作正常。

$BUILD_NUMBER $BUILD_NUMBER

$PROJECT_NAME $PROJECT_NAME

above are few variables which I am trying to resolve, but it sends $BUILD_NUMBER and $PROJECT_NAME in email instead of actual values.以上是我试图解决的几个变量,但它在 email 中发送 $BUILD_NUMBER 和 $PROJECT_NAME 而不是实际值。

I have the same issue as you @Akash Patil.我和你@Akash Patil 有同样的问题。 The issue happened when upgrading from Jenkins 2.273 to 2.274 in earlier, and upgrading to 2.275 did not solve the issue too.之前从 Jenkins 2.273 升级到 2.274 时出现此问题,升级到 2.275 也没有解决问题。 Besides, I tested the latest Extended Email Extension plugin (v2.81) with 3 versions of Jenkins and it works fine with v2.273 rather than Jenkins 2.274 & 2.275.此外,我用 3 个版本的 Jenkins 测试了最新的扩展 Email 扩展插件(v2.81),它适用于 v2.273 而不是 Jenkins 2.274 & 2.274

However, I found out in my case, I need to update the Token Macro Plugin to the latest version v2.14, then the Extended Email notification would work properly in Jenkins v2.273, v2.274, v2.275.但是,我发现在我的情况下,我需要将Token Macro Plugin更新到最新版本 v2.14,然后扩展 Email 通知将在 Jenkins v2.273、v2.274、v2.275 中正常工作。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM