Hi,
I am using groovy scripts and I use this command after adding my template
here config-file-provider plugin. and it worked fine.
body: '''${SCRIPT, template="managed:custom_groovy_Email.groovy"}''',
On Monday, 18 June 2018 09:04:02 UTC+2, Mani Agnihotri wrote:
>
> Hi,
>
> I know this is old post, but I figured a lot of people might be struggling
> from the same problem still (just like I was). The problem is you are
> probably using the *ID* of the template and not the *Name*.
>
> 1. Make the name free of whitespaces
> 2. Use the name instead of ID
>
> This should solve the issue.
>
> Thanks!
>
> On Thursday, January 4, 2018 at 3:29:07 PM UTC+5:30, Sathishkumar Prakash
> wrote:
>>
>> Hi,
>> I also getting same error.
>>
>>
>> Jelly file [managed:EmailTemplate] was not found in
>> $JENKINS_HOME/email-templates.
>>
>> I already installed
>> Config File Provider Plugin
>> <https://wiki.jenkins.io/display/JENKINS/Config+File+Provider+Plugin>
>> but i dont't know how to refer in my email template.
>>
>>
>>
>> in email text
>>
>>
>> ${JELLY_SCRIPT, template="managed:EmailTemplate.jelly"}
>>
>>
>>
>> I also tried
>>
>>
>> ${JELLY_SCRIPT, template="managed:EmailTemplate"}
>>
>>
>>
>> can anyone please help to solve this issue
>>
>>
>>
--
You received this message because you are subscribed to the Google Groups
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/jenkinsci-users/e1c32c75-5202-4246-81d8-ad97cd3a36b3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.