Hi,
I've *attached* a file, that is somewhat similar to the file in the wiki 
(https://wiki.jenkins-ci.org/display/JENKINS/Email-ext+plugin#Email-extplugin-TemplateExamples).
Difference is, that it gets the axes from the job automatically and works 
with an arbitrary number of axes.

Best,
Steffen


On Friday, April 3, 2015 at 11:41:34 AM UTC+2, Kushal Gangan wrote:
>
> Hi Doug,
>
> Could you please paste that template over here ? As i am not able to get 
> it from the git repo shared by you.
>
> Thanks,
> Kushal Gangan
>
>
>
> On Monday, 19 March 2012 19:55:07 UTC+5:30, dpreilan wrote:
>>
>> Sure. I am not really a java or groovy coder so I am sure there are 
>> ways to improve this code. 
>> To explain, the job and email. I have matrix jobs that build for 
>> various 'toolchains' and architectures (ia32, x86_64, and ia64). I 
>> created generic axis names (AXIS1, and AXIS2) because of some unique 
>> name collisions with our build environment so that may look weird. 
>>
>> I am only sending email on parent job now. This template will find 
>> current runs for that parent, and print some summary status. I copied 
>> the style stuff from the html-with-health-and-console jelly script 
>> floating around. 
>>
>> I see there is no way to attach a file so I put my template in github 
>> here: 
>> g...@github.com:dpreilan/jenkins-ci-stuff.git 
>>
>> If you don't have access to git, I will email or cut&paste here. 
>>
>> Doug 
>>
>>
>> On Mar 15, 6:07 pm, Slide <slide.o....@gmail.com> wrote: 
>> > Can you post your template for posterity? 
>> > On Mar 15, 2012 2:51 PM, "dpreilan" <dreil...@gmail.com> wrote: 
>> > 
>> > 
>> > 
>> > 
>> > 
>> > 
>> > 
>> > > I decided to code this as a groovy script and invoke in the content 
>> > > section. For example: 
>> > > ${SCRIPT,template="my-matrix-build-msg.template"} 
>> > 
>> > > Slide, I looked back on some information you gave me last year. 
>> Thanks 
>> > > again! 
>> > > I just had to work my way thru understanding jenkins objects. 
>> > 
>> > > Doug 
>> > 
>> > > On Mar 13, 2:04 pm, Slide <slide.o....@gmail.com> wrote: 
>> > > > There is already an issue filed for something like this, I don't 
>> believe 
>> > > > its currently doable. 
>> > > > On Mar 13, 2012 8:25 AM, "dpreilan" <dreil...@gmail.com> wrote: 
>> > 
>> > > > > I want to extend my email-ext template to report more meaningful 
>> > > > > reports for some matrix jobs 
>> > 
>> > > > > In addition, I want to change so instead of a bunch of separate 
>> emails 
>> > > > > (12 in my case) for each matrix, 1 email from 'parent' job that 
>> > > > > contains status and information for the individual matrix runs. 
>> > 
>> > > > > Anybody have example of how my template can do this? 
>> > 
>> > > > > Thanks, 
>> > > > > Doug
>
>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/921f52ff-f5b7-4f9e-a738-fb3279341e2c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Attachment: jenkins-generic-matrix-email-html.template
Description: Binary data

Reply via email to