Re: email-ext - jelly script example for matrix job

2017-05-23 Thread seckler
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 here. 
>>
>> Doug 
>>
>>
>> On Mar 15, 6:07 pm, Slide  wrote: 
>> > Can you post your template for posterity? 
>> > On Mar 15, 2012 2:51 PM, "dpreilan"  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  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"  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.


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


Re: email-ext - jelly script example for matrix job

2015-04-03 Thread Kushal Gangan
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 cutpaste 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/e4025245-dca0-461e-9c6c-c963d2c80b8f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: email-ext - jelly script example for matrix job

2012-03-19 Thread dpreilan
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 cutpaste 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


Re: email-ext - jelly script example for matrix job

2012-03-19 Thread dpreilan
Glad I could give back. Thanks for the plugin.

On Mar 19, 11:26 am, Slide slide.o@gmail.com wrote:
 This is awesome. Thanks for sharing! I've heard of several people who would
 like to do something like this. I'll try and add it to the wiki for
 email-ext.

 slide









 On Mon, Mar 19, 2012 at 7:25 AM, dpreilan dreil...@gmail.com 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 cutpaste 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

 --
 Website:http://earl-of-code.com


Re: email-ext - jelly script example for matrix job

2012-03-13 Thread Slide
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