continuum-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Maria Catherine Tan (JIRA)" <>
Subject [jira] Commented: (CONTINUUM-2102) Unable to configure subject line for email notifications
Date Tue, 03 Mar 2009 02:18:12 GMT


Maria Catherine Tan commented on CONTINUUM-2102:

For the successful 'prepare' notification, you can get it if alwaysSend is true or if the
scmroot  previous state while preparing is an Error. The Prepare Build Error notification
is configurable in the ui.

So if the prepare build failed because let's say the svn is down, and you configured to received
notification when prepare build failed then you will receive a mail notification for that.

I can remove the prepare build successful mail notification, since it seems like you'll get
notification anyway during the build which also means the prepare build was successful.

> Unable to configure subject line for email notifications
> --------------------------------------------------------
>                 Key: CONTINUUM-2102
>                 URL:
>             Project: Continuum
>          Issue Type: Bug
>          Components: Notifier - Mail
>    Affects Versions: 1.3.1
>         Environment: 1.3.1, also seen with trunk at r748719
>            Reporter: Wendy Smoak
>            Priority: Critical
> After upgrading to 1.3.x, I'm getting notification emails with the subject line:
> [continuum] PREPARE BUILD SUCCESSFUL: ${projectScmRoot.scmRootAddress}
> Other than the subject, the notification looks the same as we used to get for normal
scheduled builds in 1.2.x.
> The subject line seems to be hard coded in, and was added
in r709300 in the merge from the transient state branch.  
> Previously, the subject was configurable in
>         ./apps/continuum/WEB-INF/classes/META-INF/plexus/application.xml
> with
>         <subject-format>[continuum] BUILD ${state}: ${}
- ${} - ${build.buildDefinition.description}</subject-format>
> .
> From continuum.log:
> 2009-02-27 20:25:48,106 [pool-1-thread-4] WARN  velocityComponent  - org.apache.velocity.runtime.exception.ReferenceException:
reference : template = subjectPattern [line 1,column 37] : ${projectScmRoot.scmRootAddress}
is not a valid reference.
> 2009-02-27 20:25:48,106 [pool-1-thread-4] INFO  org.apache.maven.continuum.notification.mail.MailContinuumNotifier
 - Message Subject: '[continuum] PREPARE BUILD SUCCESSFUL: ${projectScmRoot.scmRootAddress}'.
> I'm less concerned about the 'not a valid reference' warning, since what I really want
is for the subject line to be 
>  - configurable in plain text
>  - the same as it was in 1.2.x
> Related thread:

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:


View raw message