The groovy ones can be setup using the ${SCRIPT} content token:

${SCRIPT, template="groovy-html.template"}

Thanks,

slide


On Fri, Mar 1, 2013 at 11:20 AM, Kamal Ahmed <kamal2222ah...@yahoo.com>wrote:

> Hi Slide,
> Any examples, you can share, and HOW would they be setup in Email-EXT in
> the Jenkins UI?
> I mean the Jelly template could be accessed via
> ${JELLY_SCRIPT,template="cust"}
> in Default Content
>
> Thanks,
> -Kamal.
>
>
>   ------------------------------
> *From:* Slide <slide.o....@gmail.com>
> *To:* "jenkinsci-users@googlegroups.com" <jenkinsci-users@googlegroups.com>
>
> *Sent:* Friday, March 1, 2013 11:42 AM
> *Subject:* Re: BUILD and TEST results in EMAIL-EXT for Perl TAP
>
> I highly recommend NOT using the Jelly templates, they are a pain. The
> groovy templates are much nicer to deal with and give you a lot more power
> to do what you want. In the next release, you will also be able to use the
> content tokens much more easily in the groovy templates, so you can reuse a
> lot of what you may already have.
>
> slide
>
>
> On Fri, Mar 1, 2013 at 9:34 AM, Kamal Ahmed <kamal2222ah...@yahoo.com>wrote:
>
> Hi,
> I want to send Console output ( Example below ) as part of the email-ext
> sent out.
>
> *11:17:52* ok 2*11:17:52* ok 3 - Empty AR*11:17:52* ok 4 - Basic AR*11:17:52* 
> ok 5 - Wants AR*11:17:52* ok 6 - Need key with doublequote*11:17:52* ok 7 - 
> Want key with doublequote*11:17:52* ok 8 - set crhead var*11:17:52* ok 9 - 
> get crhead var*11:17:52* ok 10 - change crhead var*11:17:52* ok 11 - remove 
> crhead var*11:17:52* ok 12 - add crhead var again after removal*11:17:52* ok 
> 13 - write a log entry*11:17:52* ok 14 - Move a need to a want*11:17:52* 
> 1..14*11:17:52* ok*11:17:54* ./AvailableFunctions.t ..............
>
> I am using a slightly modified version of html.jelly:
>
> cust.jelly              groovy-html-larry.template  html.jelly                
>           static-analysis.jelly
>
> email-ext.groovy        groovy-html.template        
> html-with-health-and-console.jelly  text.jelly
> groovy                  groovy-text.template        jelly_pynliner.py
> groovy-html-larry.html  html_gmail.jelly            README.TXT
>
>
> but not getting ANY test output . i DO get stack trace, when the console 
> throws exception.
>
> Any Jelly Experts want to help me ?
>
> I want to be able to :
>
> 1. Include a Custom logo
> 2. Test Start Time
>
> 3. Test End Time
> 4. Number of Tests Passed / Failed
> 5. Number of Exceptions / Errors
>
>
> Thanks,
> -Kamal.
>
> --
> 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.
>
>
>
>
>
>
> --
> 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.
>
>
>
>
>    --
> 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.
>
>
>



-- 
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