Email-ext plugin: email when "not failure"?

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Email-ext plugin: email when "not failure"?

Steele, Richard-2
Would it be possible to add a trigger which means "not failure?"

My use case: I have a build which is triggered manually to do a release, and I want to send out a mail note when the job finishes publishing its artifacts; this means an email should go out if the build is "success" or "unstable."  (The latter means we've elected to do a release even with test failures.)

Short of copying the configuration for two separate triggers, what are my options?

If we can't have a new "not failure" trigger, can we allow for multiple triggers to map to the same action?

Thanks,
Rich
Reply | Threaded
Open this post in threaded view
|

Re: Email-ext plugin: email when "not failure"?

Richard Bywater
I'm not in front of a Hudson instance right now but you'll want to
select Expand Config (or something like that). If I recall the choice
between failure/success emails is in a dropdown.

Richard

On Friday, February 26, 2010, Steele, Richard <[hidden email]> wrote:

> Would it be possible to add a trigger which means "not failure?"
>
> My use case: I have a build which is triggered manually to do a release, and I want to send out a mail note when the job finishes publishing its artifacts; this means an email should go out if the build is "success" or "unstable."  (The latter means we've elected to do a release even with test failures.)
>
> Short of copying the configuration for two separate triggers, what are my options?
>
> If we can't have a new "not failure" trigger, can we allow for multiple triggers to map to the same action?
>
> Thanks,
> Rich
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Email-ext plugin: email when "not failure"?

Steele, Richard-2
Yes, I played with the triggers, but I didn't see what I'm asking for.

The help for success says "An email will be sent if the build status is 'Successful'. If the 'Fixed' trigger is configured, and the previous build status was 'Failure' or 'Unstable', then the 'Fixed' trigger will send an email instead."

In particular, a success won't be triggered if the build is "Unstable" (meaning there are test failures).  I specifically want to send out an email for either success or unstable and, short of copying and pasting, I was asking if there could be a better way.

Thanks,
Rich

On Fri, Feb 26, 2010 at 4:17 AM, Richard Bywater <[hidden email]> wrote:
I'm not in front of a Hudson instance right now but you'll want to
select Expand Config (or something like that). If I recall the choice
between failure/success emails is in a dropdown.

Richard