Unverified Commit 6933c8cc authored by Keshav Prasad's avatar Keshav Prasad Committed by GitHub
Browse files

fix: varible scope and env variable usage

Showing with 1 addition and 1 deletion
+1 -1
......@@ -34,7 +34,7 @@ def call(String buildStatus) {
if(env.GLOBAL_EMAIL_GROUP != null)
step([$class: 'Mailer',
notifyEveryUnstableBuild: true,
recipients: email_group,
recipients: "${env.GLOBAL_EMAIL_GROUP}",
sendToIndividuals: true])
else
println ANSI_YELLOW + ANSI_BOLD + "Could not find global email group variable. Skipping email notification.." + ANSI_NORMAL
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment