Hi, I saw the following posts:
https://groups.google.com/forum/#!searchin/jenkinsci-users/slide$20groovy$20template/jenkinsci-users/Juu2LfRkgck/G091xZI24UgJ

So what I did:

1. *create a directory* named *email-templates* under /var/lib/jenkins 
(wasn't there suppose to be a email-template dir already?)
2. *Renamed* the script you wrote to *send_email.groovy*, and *copied* it 
to /var/lib/jenkins/email-templates
3. replaced the *Default content* with ${SCRIPT, "send_email.groovy", 
"template=template"}.(ddin't copy any template to email-template dir, as I 
didn't find none under my ext-email plugin.

When I ran it, *all I got was ${SCRIPT, "send_email.groovy", 
"template=template"} as the email content*...That's the same as the guy 
that asked you before, but I don't know how to solve it...


Thanks.


On Wednesday, August 14, 2013 6:40:38 PM UTC+3, slide wrote:
>
> I believe I posted on this before, the easiest thing might be to have a 
> job that runs after project C that follows the upstream chain and just 
> summarizes via a groovy template. If you search the archives, I think I've 
> posted the code on how to access upstream builds and so forth.
>
> slide
>
>
> On Wed, Aug 14, 2013 at 7:22 AM, Avihay Eyal <aviha...@gmail.com<javascript:>
> > wrote:
>
>> Hi, I'm using *Email-ext* to send email once a job is done.
>>
>> I would like that email to have results of the *upstream projects as well
>> * (project A->project B->project C, ad I want
>> an email summarizing A,B,C). I could send three emails from the three 
>> different projects, but that seems messy to me...
>>
>>
>> What's the best way to go about it?
>>
>>
>> Thanks.
>>  
>> -- 
>> 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 jenkinsci-use...@googlegroups.com <javascript:>.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>  
>>  
>>
>
>
>
> -- 
> Website: http://earl-of-code.com 
>

-- 
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 jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to