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

Reply via email to