Change By: Oleg Nenashev (12/Dec/13 11:00 AM)
Description: The issue has been introduced by https://github.com/jenkinsci/email-ext-plugin/commit/4a6c1446ff95591a511cec527f2e5702c07a0c6d

This change corrupts behavior of the plugin in following conditions:
* Token macro is located in "Recipients list"
* The referenced file does not exist
In this case the message will be considered as an invalid e-mail address...

We've experienced this issue during porting of legacy jobs to a new installation... 

I think that the best solution would be to add additional parameter, which defines behavior on errors:
* Print
 a  text  (the current behavior)
* Return
 Empty  an empty  String  (the final legacy behavior)
* Throw
 error  a macro evaluation exception

BTW, I'm not sure about the default value.
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to