[
https://issues.jenkins-ci.org/browse/JENKINS-13563?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=163423#comment-163423
]
SCM/JIRA link daemon commented on JENKINS-13563:
------------------------------------------------
Code changed in jenkins
User: Alex Earl
Path:
src/main/java/hudson/plugins/emailext/AttachmentUtils.java
src/main/java/hudson/plugins/emailext/ExtendedEmailPublisher.java
http://jenkins-ci.org/commit/email-ext-plugin/9c0b9007fc747523e6ee70a66951da0017c49846
Log:
Fix JENKINS-13563
Added support for content tokens in the attachments area. The
generated string must still be an ANT pattern.
> Attachment filepath does not support token reference
> ----------------------------------------------------
>
> Key: JENKINS-13563
> URL: https://issues.jenkins-ci.org/browse/JENKINS-13563
> Project: Jenkins
> Issue Type: Improvement
> Components: email-ext
> Reporter: Sam He
> Assignee: Slide-O-Mix
>
> I defined an string parameter named "env".
> email content can retrieve it with token ${ENV, var="env"}.
> However, attachment field cannot solve the filepath with the tocken:
> attachment: logs/${ENV, var="env"}.log
> Is there any suggestion on this behavior ?
--
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