No email sent for 1.3.4

View: New views
5 Messages — Rating Filter:   Alert me  

No email sent for 1.3.4

by Neon-5 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I am using Apache Continuum 1.3.4 (Beta) running under Tomcat 5.5.28 on linux

I have a shell project and I am not getting emails of the builds. I
have configured for it to send emails out and have seen some here
there, but for some reason am no longer getting emails now. I see the
following in the log file even though I have both email notifiers for
both that project group and the project itself.

2009-09-23 20:07:40,902 [pool-1-thread-3] INFO
org.apache.maven.continuum.execution.shell.ShellBuildExecutor  - Exit
code: 0
2009-09-23 20:07:40,951 [pool-1-thread-3] INFO
org.apache.maven.continuum.buildcontroller.DefaultBuildController  -
Performing action deploy-artifact
2009-09-23 20:07:41,005 [pool-1-thread-3] INFO
org.apache.maven.continuum.notification.AbstractContinuumNotifier  -
Same state, not sending message.
2009-09-23 20:07:41,005 [pool-1-thread-3] INFO
org.apache.maven.continuum.notification.AbstractContinuumNotifier  -
Same state, not sending message.
2009-09-23 20:07:41,198 [pool-1-thread-3] INFO
org.apache.maven.continuum.notification.mail.MailContinuumNotifier  -
No mail notifier for 'My Shell Project'.

I wonder if this has something to do with the NullPointerException I
get when I created this Shell Project
http://jira.codehaus.org/browse/CONTINUUM-2318

Oh, I am also using Derby 10.5.3.0
I have received emails from this contnuum installation for some of my
other defined projects so I know that email works and that I have the
right configuration.

Regards,

Neon

Re: No email sent for 1.3.4

by brettporter :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

This is indicating that the project build state continues to be in  
success - by default, this results in no mail sent.

What happens if the shell project build fails?

Cheers,
Brett

On 25/09/2009, at 7:56 AM, Neon wrote:

> I am using Apache Continuum 1.3.4 (Beta) running under Tomcat 5.5.28  
> on linux
>
> I have a shell project and I am not getting emails of the builds. I
> have configured for it to send emails out and have seen some here
> there, but for some reason am no longer getting emails now. I see the
> following in the log file even though I have both email notifiers for
> both that project group and the project itself.
>
> 2009-09-23 20:07:40,902 [pool-1-thread-3] INFO
> org.apache.maven.continuum.execution.shell.ShellBuildExecutor  - Exit
> code: 0
> 2009-09-23 20:07:40,951 [pool-1-thread-3] INFO
> org.apache.maven.continuum.buildcontroller.DefaultBuildController  -
> Performing action deploy-artifact
> 2009-09-23 20:07:41,005 [pool-1-thread-3] INFO
> org.apache.maven.continuum.notification.AbstractContinuumNotifier  -
> Same state, not sending message.
> 2009-09-23 20:07:41,005 [pool-1-thread-3] INFO
> org.apache.maven.continuum.notification.AbstractContinuumNotifier  -
> Same state, not sending message.
> 2009-09-23 20:07:41,198 [pool-1-thread-3] INFO
> org.apache.maven.continuum.notification.mail.MailContinuumNotifier  -
> No mail notifier for 'My Shell Project'.
>
> I wonder if this has something to do with the NullPointerException I
> get when I created this Shell Project
> http://jira.codehaus.org/browse/CONTINUUM-2318
>
> Oh, I am also using Derby 10.5.3.0
> I have received emails from this contnuum installation for some of my
> other defined projects so I know that email works and that I have the
> right configuration.
>
> Regards,
>
> Neon


Re: No email sent for 1.3.4

by Neon-5 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I have the mail notifier set to receive emails on Success. It is actually
set to: Error/Failure/Success/Warning/SCM Failure

Is "Success" suppose to mean email even when build succeeds?

I am able to work around this issue by updating the application.xml and
changing the alwaysend tag on my mail resource configuration to be TRUE, but
then I also get unwanted "PREPARE BUILD SUCCESSFUL ..." emails

Regards,

Neon

This is indicating that the project build state continues to be in
success - by default, this results in no mail sent.

What happens if the shell project build fails?

Cheers,
Brett

Re: No email sent for 1.3.4

by brettporter :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


On 27/09/2009, at 4:05 AM, Neon wrote:

> I have the mail notifier set to receive emails on Success. It is  
> actually
> set to: Error/Failure/Success/Warning/SCM Failure
>
> Is "Success" suppose to mean email even when build succeeds?
>
> I am able to work around this issue by updating the application.xml  
> and
> changing the alwaysend tag on my mail resource configuration to be  
> TRUE, but
> then I also get unwanted "PREPARE BUILD SUCCESSFUL ..." emails

That's the only solution for now - I believe there is a request in  
JIRA to allow configuring all these options from the UI. I'd suggest  
searching for that and attaching a vote.

- Brett


Parent Message unknown Re: No email sent for 1.3.4

by Neon-5 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I have submitted my vote for the JIRA Bug CONTINUUM-1845
http://jira.codehaus.org/browse/CONTINUUM-1845
Notification mails is not always sent but just if the build state
changes

Also, the default for the proposed "sameStateSend" property should be
true

> That's the only solution for now - I believe there is a request in
> JIRA to allow configuring all these options from the UI. I'd suggest
> searching for that and attaching a vote.

> - Brett

Sent to you by neon via Google Reader: Re: No email sent for 1.3.4 via
users@... Archives by Brett Porter <brett@...>
on 9/27/09

On 27/09/2009, at 4:05 AM, Neon wrote: > I have the mail notifier set
to receive emails on Success. It is > actually > set to:
Error/Failure/Success/Warning/SCM Failure > > Is "Success" suppose to
mean email even when build succeeds? > > I am able to work around this
issue by updating the application.xml > and > changing the alwaysend
tag on my mail resource configuration to be > TRUE, but > then I also
get unwanted "PREPARE BUILD SUCCESSFUL ..." emails That's the only
solution for now - I believe there is a request in JIRA to allow
configuring all these options from the UI. I'd suggest searching for
that and attaching a vote. - Brett

Things you can do from here:
- Subscribe to users@... Archives using Google Reader
- Get started using Google Reader to easily keep up with all your
favorite sites