continuum-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jamie Flournoy (JIRA)" <j...@codehaus.org>
Subject [jira] Commented: (CONTINUUM-446) Mail notification should be configurable to notify on every build
Date Sat, 28 Jan 2006 21:03:06 GMT
    [ http://jira.codehaus.org/browse/CONTINUUM-446?page=comments#action_57203 ] 

Jamie Flournoy commented on CONTINUUM-446:
------------------------------------------

The attached diff and jar implement this functionality. I've only tested this with the MailContinuumNotifier
but the change was made in the superclass so it should make each notifier (IRC, etc.) separately
configurable. The diff is against 1.0.2 because I didn't want to install the latest snapshot
just to get this and I had some intermittent test failures (build timeouts on a fast server?)
that made me nervous about using the latest version of the code.

To make the MailContinuumNotifier always send notifications even if the status is the same,
install the jar in apps/continuum/lib directory, remove (or gzip) your continuum-notifier-api-1.0.2.jar
(I called mine continuum-notifier-api-1.0.2-ORIG.jar.gz), and edit apps/continuum/conf/application.xml:

In <components>, in the <component> whose <implementation> contains org.apache.maven.continuum.notification.mail.MailContinuumNotifier,
in <configuration>, add this:
        <notifyEvenIfStateUnchanged>true</notifyEvenIfStateUnchanged >

To test it, just force a build for an app that is already building successfully, and you should
see an email.


> Mail notification should be configurable to notify on every build
> -----------------------------------------------------------------
>
>          Key: CONTINUUM-446
>          URL: http://jira.codehaus.org/browse/CONTINUUM-446
>      Project: Continuum
>         Type: Improvement

>     Versions: 1.0
>     Reporter: Wim Deblauwe
>  Attachments: continuum-notifier-api-1.0.2_jamieedits.jar, notification-edits.txt
>
>
> Continuum currently always optimizes the number of mails it sends by only sending a mail
if the state changes from ok to not ok or vice versa. It would be better if this is configurable
to always send a mail for every build (for instance for a nightly build).

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Mime
View raw message