[ 
https://issues.jenkins-ci.org/browse/JENKINS-13277?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=160981#comment-160981
 ] 

jfreej commented on JENKINS-13277:
----------------------------------

Update: Simple build parameters are not working either. When I create a build 
parameter "ALERT_EMAIL_LIST" and set "Email Notification > Recipients" to 
"${ALERT_EMAIL_LIST}", I see: "Sending e-mails to: 
${ALERT_EMAIL_LIST}@test.com".

Again, this only applies to <hudson.maven.reporters.MavenMailer>.
                
> Global environment variables are not being resolved in Email Notification 
> Recipients list for maven 2/3 projects
> ----------------------------------------------------------------------------------------------------------------
>
>                 Key: JENKINS-13277
>                 URL: https://issues.jenkins-ci.org/browse/JENKINS-13277
>             Project: Jenkins
>          Issue Type: Bug
>          Components: email-ext, notification
>    Affects Versions: current
>            Reporter: jfreej
>
> When using a global environment variable, defined in "Manage Jenkins > 
> Configure System > Environment Variables" (e.g. "ALERT_EMAIL_LIST"), in the 
> "Email Notification > Recipients" list of a maven 2/3 project (e.g. 
> "${ALERT_EMAIL_LIST}") the environment variable is not resolved. In the 
> console output we see: "Sending e-mails to: ${ALERT_EMAIL_LIST}@test.com".
> Note that it DOES work in an "free-style software project".
> So, it does not work within <hudson.maven.reporters.MavenMailer>, but it does 
> work within <hudson.tasks.Mailer>.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to