You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@continuum.apache.org by "Wim Deblauwe (JIRA)" <ji...@codehaus.org> on 2005/11/15 13:13:06 UTC

[jira] Created: (CONTINUUM-446) Mail notification should be configurable to notify on every build

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


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


[jira] Reopened: (CONTINUUM-446) Mail notification should be configurable to notify on every build

Posted by "Emmanuel Venisse (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/CONTINUUM-446?page=all ]
     
Emmanuel Venisse reopened CONTINUUM-446:
----------------------------------------


> 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


[jira] Updated: (CONTINUUM-446) Mail notification should be configurable to notify on every build

Posted by "Jamie Flournoy (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/CONTINUUM-446?page=all ]

Jamie Flournoy updated CONTINUUM-446:
-------------------------------------

    Attachment: continuum-notifier-api-1.0.2_jamieedits.jar

> 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


[jira] Updated: (CONTINUUM-446) Mail notification should be configurable to notify on every build

Posted by "Anonymous (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/CONTINUUM-446?page=all ]

 updated CONTINUUM-446:
-----------------------

    Attachment: notification-edits.txt

> 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: 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


[jira] Closed: (CONTINUUM-446) Mail notification should be configurable to notify on every build

Posted by "Emmanuel Venisse (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/CONTINUUM-446?page=all ]
     
Emmanuel Venisse closed CONTINUUM-446:
--------------------------------------

    Resolution: Won't Fix

DUPLICATE with CONTINUUM-322

> 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


[jira] Commented: (CONTINUUM-446) Mail notification should be configurable to notify on every build

Posted by "Jamie Flournoy (JIRA)" <ji...@codehaus.org>.
    [ 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


[jira] Closed: (CONTINUUM-446) Mail notification should be configurable to notify on every build

Posted by "Emmanuel Venisse (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/CONTINUUM-446?page=all ]
     
Emmanuel Venisse closed CONTINUUM-446:
--------------------------------------

    Resolution: Duplicate

> 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