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
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
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
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
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:
Hi,
We are using the Email-ext plugin 2.24.1 to send out email notifications.
Overall, it works great; however, I was given a new requirement:
* Send out email notifications to a list of users if the build is a
"release build". More specifically, there is a Boolean RELEASE_BUILD Job
p