Issue Type: Bug Bug
Affects Versions: current
Assignee: Alex Earl
Components: email-ext
Created: 31/May/13 3:12 PM
Description:

Newly implemented Email Template Testing feature doesn't work.
If name of template file is passed with extension following error occurs:

Jelly script [myscript.jelly] was not found in $JENKINS_HOME/email-templates.

If name of template file is passed without extension following error occurs:

Template [myscript] was not found in $JENKINS_HOME/email-templates.

additionally a validation error is shown:

The file 'myscript' does not exist

The problem is that EmailExtTemplateAction.doTemplateFileCheck() and EmailExtTemplateAction.renderTemplate() methods expect that template name includes extension. But JellyScriptContent.getTemplateInputStream() expects that template name doesn't contains extension.

Environment: OS: Windows 7
Jenkins: 1.516
Email-ext: 2.30.2
Project: Jenkins
Priority: Major Major
Reporter: Volodja Medvid
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 jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Reply via email to