Re: Email-ext plugin - dynamically modifying the recipient list

2013-06-11 Thread Slide
You can also just use a groovy script, ${SCRIPT, script="yourscript.groovy"} On Jun 11, 2013 12:38 AM, "Louis Roché" wrote: > Hi. > > You can use a groovy template in the recipients list to modifying the > recipients list. The last line of your script should return a string with > all the recipie

Re: Email-ext plugin - dynamically modifying the recipient list

2013-06-11 Thread Louis Roché
Hi. You can use a groovy template in the recipients list to modifying the recipients list. The last line of your script should return a string with all the recipients. For examples, you can have a file recipients.template: <% > def authors = "m...@example.tld" > > if (build.environment["RELEASE

Re: Email-ext plugin - dynamically modifying the recipient list

2013-06-10 Thread Slide
s.com > *Subject:* Re: Email-ext plugin - dynamically modifying the recipient list > > > ** ** > > The email-ext plugin will check if the recipient list is empty before > trying to send the email (which is where the pre-send script is executed). > Putting a dummy address in

RE: Email-ext plugin - dynamically modifying the recipient list

2013-06-10 Thread Bob Bick
Thanks for the quick response. I was afraid that that was the only solution :( From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Slide Sent: Monday, June 10, 2013 11:52 AM To: jenkinsci-users@googlegroups.com Subject: Re: Email-ext plugin - dynamically

Re: Email-ext plugin - dynamically modifying the recipient list

2013-06-10 Thread Slide
The email-ext plugin will check if the recipient list is empty before trying to send the email (which is where the pre-send script is executed). Putting a dummy address in is currently the only way you would be able to achieve what you want to do. On Mon, Jun 10, 2013 at 8:50 AM, Bob Bick wrote: