You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@continuum.apache.org by "Bodhayan Chakraborty (JIRA)" <ji...@codehaus.org> on 2011/05/17 19:01:22 UTC
[jira] Created: (CONTINUUM-2626) Email Notification not sent when
Distributed Build enabled
Email Notification not sent when Distributed Build enabled
----------------------------------------------------------
Key: CONTINUUM-2626
URL: http://jira.codehaus.org/browse/CONTINUUM-2626
Project: Continuum
Issue Type: Bug
Components: Distributed Builds, Notifier - Mail
Affects Versions: 1.3.7
Environment: Linux, Windows, Jdk 1.6.0_17
Reporter: Bodhayan Chakraborty
Attachments: Notifier_gone_after_Build_Ended.png, Notifier_present_Before_Build_Started.png
I am using Continuum 1.3.7 and Build Agent 1.3.7. When I am disabling the build agent, the email notifications are being sent when there is any change of state. When I enable distributed build, the build is completing successfully, but no email notification is being sent. The Notifier section under Project Information page is also not showing any of the configured email ids.
If I add any Project group notifier, the notification is being sent to that email id irrespective of the distributed build state.
The ciManagement section of the pom.xml file is like below;
<ciManagement>
<system>continuum</system>
<url>http://server.url/continuum</url>
<notifiers>
<notifier>
<type>mail</type>
<sendOnError>true</sendOnError>
<sendOnFailure>true</sendOnFailure>
<sendOnSuccess>true</sendOnSuccess>
<sendOnWarning>true</sendOnWarning>
<configuration>
<address>email.id@server.com</address>
</configuration>
</notifier>
</notifiers>
</ciManagement>
Please let me know if this is bug or not. If not, what I need to do to send email notification when distributed build is enabled.
P.S.: I have tested this with continuum 1.3.4 and 1.4.0 and both in Windows and Linux environment with no luck.
Thanks,
Bodhayan.
--
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-2626) Email Notification not sent when
Distributed Build enabled
Posted by "Bodhayan Chakraborty (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/CONTINUUM-2626?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Bodhayan Chakraborty updated CONTINUUM-2626:
--------------------------------------------
Attachment: continuum-buildagent-core-1.3.7.jar
patch.diff
The continuum-buildagent-core-1.3.7.jar contains patched AbstractBuildExecutor class.
> Email Notification not sent when Distributed Build enabled
> ----------------------------------------------------------
>
> Key: CONTINUUM-2626
> URL: http://jira.codehaus.org/browse/CONTINUUM-2626
> Project: Continuum
> Issue Type: Bug
> Components: Distributed Builds, Notifier - Mail
> Affects Versions: 1.3.7
> Environment: Linux, Windows, Jdk 1.6.0_17
> Reporter: Bodhayan Chakraborty
> Attachments: continuum-buildagent-core-1.3.7.jar, Notifier_gone_after_Build_Ended.png, Notifier_present_Before_Build_Started.png, patch.diff
>
>
> I am using Continuum 1.3.7 and Build Agent 1.3.7. When I am disabling the build agent, the email notifications are being sent when there is any change of state. When I enable distributed build, the build is completing successfully, but no email notification is being sent. The Notifier section under Project Information page is also not showing any of the configured email ids.
> If I add any Project group notifier, the notification is being sent to that email id irrespective of the distributed build state.
> The ciManagement section of the pom.xml file is like below;
> <ciManagement>
> <system>continuum</system>
> <url>http://server.url/continuum</url>
> <notifiers>
> <notifier>
> <type>mail</type>
> <sendOnError>true</sendOnError>
> <sendOnFailure>true</sendOnFailure>
> <sendOnSuccess>true</sendOnSuccess>
> <sendOnWarning>true</sendOnWarning>
> <configuration>
> <address>email.id@server.com</address>
> </configuration>
> </notifier>
> </notifiers>
> </ciManagement>
> Please let me know if this is bug or not. If not, what I need to do to send email notification when distributed build is enabled.
> P.S.: I have tested this with continuum 1.3.4 and 1.4.0 and both in Windows and Linux environment with no luck.
> Thanks,
> Bodhayan.
--
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-2626) Email Notification not sent when
Distributed Build enabled
Posted by "Bodhayan Chakraborty (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/CONTINUUM-2626?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=267352#action_267352 ]
Bodhayan Chakraborty commented on CONTINUUM-2626:
-------------------------------------------------
I am able to fix this issue. Patch for this issue;
The getProjectNotifiers( List<ProjectNotifier> notifiers ) in AbstractBuildExecutor.java under continuum-buildagent-core has been changed. PFA the patch.diff file and continuum-buildagent-core-1.3.7.jar file.
> Email Notification not sent when Distributed Build enabled
> ----------------------------------------------------------
>
> Key: CONTINUUM-2626
> URL: http://jira.codehaus.org/browse/CONTINUUM-2626
> Project: Continuum
> Issue Type: Bug
> Components: Distributed Builds, Notifier - Mail
> Affects Versions: 1.3.7
> Environment: Linux, Windows, Jdk 1.6.0_17
> Reporter: Bodhayan Chakraborty
> Attachments: Notifier_gone_after_Build_Ended.png, Notifier_present_Before_Build_Started.png
>
>
> I am using Continuum 1.3.7 and Build Agent 1.3.7. When I am disabling the build agent, the email notifications are being sent when there is any change of state. When I enable distributed build, the build is completing successfully, but no email notification is being sent. The Notifier section under Project Information page is also not showing any of the configured email ids.
> If I add any Project group notifier, the notification is being sent to that email id irrespective of the distributed build state.
> The ciManagement section of the pom.xml file is like below;
> <ciManagement>
> <system>continuum</system>
> <url>http://server.url/continuum</url>
> <notifiers>
> <notifier>
> <type>mail</type>
> <sendOnError>true</sendOnError>
> <sendOnFailure>true</sendOnFailure>
> <sendOnSuccess>true</sendOnSuccess>
> <sendOnWarning>true</sendOnWarning>
> <configuration>
> <address>email.id@server.com</address>
> </configuration>
> </notifier>
> </notifiers>
> </ciManagement>
> Please let me know if this is bug or not. If not, what I need to do to send email notification when distributed build is enabled.
> P.S.: I have tested this with continuum 1.3.4 and 1.4.0 and both in Windows and Linux environment with no luck.
> Thanks,
> Bodhayan.
--
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] Assigned: (CONTINUUM-2626) Email Notification not sent when
Distributed Build enabled
Posted by "Maria Catherine Tan (JIRA)" <ji...@codehaus.org>.
[ https://jira.codehaus.org/browse/CONTINUUM-2626?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Maria Catherine Tan reassigned CONTINUUM-2626:
----------------------------------------------
Assignee: Maria Catherine Tan
> Email Notification not sent when Distributed Build enabled
> ----------------------------------------------------------
>
> Key: CONTINUUM-2626
> URL: https://jira.codehaus.org/browse/CONTINUUM-2626
> Project: Continuum
> Issue Type: Bug
> Components: Distributed Builds, Notifier - Mail
> Affects Versions: 1.3.7
> Environment: Linux, Windows, Jdk 1.6.0_17
> Reporter: Bodhayan Chakraborty
> Assignee: Maria Catherine Tan
> Fix For: 1.3.8, 1.4.1 (Beta)
>
> Attachments: continuum-buildagent-core-1.3.7.jar, Notifier_gone_after_Build_Ended.png, Notifier_present_Before_Build_Started.png, patch.diff
>
>
> I am using Continuum 1.3.7 and Build Agent 1.3.7. When I am disabling the build agent, the email notifications are being sent when there is any change of state. When I enable distributed build, the build is completing successfully, but no email notification is being sent. The Notifier section under Project Information page is also not showing any of the configured email ids.
> If I add any Project group notifier, the notification is being sent to that email id irrespective of the distributed build state.
> The ciManagement section of the pom.xml file is like below;
> <ciManagement>
> <system>continuum</system>
> <url>http://server.url/continuum</url>
> <notifiers>
> <notifier>
> <type>mail</type>
> <sendOnError>true</sendOnError>
> <sendOnFailure>true</sendOnFailure>
> <sendOnSuccess>true</sendOnSuccess>
> <sendOnWarning>true</sendOnWarning>
> <configuration>
> <address>email.id@server.com</address>
> </configuration>
> </notifier>
> </notifiers>
> </ciManagement>
> Please let me know if this is bug or not. If not, what I need to do to send email notification when distributed build is enabled.
> P.S.: I have tested this with continuum 1.3.4 and 1.4.0 and both in Windows and Linux environment with no luck.
> Thanks,
> Bodhayan.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Closed: (CONTINUUM-2626) Email Notification not sent when
Distributed Build enabled
Posted by "Maria Catherine Tan (JIRA)" <ji...@codehaus.org>.
[ https://jira.codehaus.org/browse/CONTINUUM-2626?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Maria Catherine Tan closed CONTINUUM-2626.
------------------------------------------
Resolution: Fixed
fixed in r1159490 of 1.3.x branch and r1159492 of trunk.
* Applied patch of Bodhayan Chakraborty. Thanks!
* fixed how project notifiers created by users is overwritten by notifiers created by project (POM)
> Email Notification not sent when Distributed Build enabled
> ----------------------------------------------------------
>
> Key: CONTINUUM-2626
> URL: https://jira.codehaus.org/browse/CONTINUUM-2626
> Project: Continuum
> Issue Type: Bug
> Components: Distributed Builds, Notifier - Mail
> Affects Versions: 1.3.7
> Environment: Linux, Windows, Jdk 1.6.0_17
> Reporter: Bodhayan Chakraborty
> Assignee: Maria Catherine Tan
> Fix For: 1.3.8, 1.4.1 (Beta)
>
> Attachments: continuum-buildagent-core-1.3.7.jar, Notifier_gone_after_Build_Ended.png, Notifier_present_Before_Build_Started.png, patch.diff
>
>
> I am using Continuum 1.3.7 and Build Agent 1.3.7. When I am disabling the build agent, the email notifications are being sent when there is any change of state. When I enable distributed build, the build is completing successfully, but no email notification is being sent. The Notifier section under Project Information page is also not showing any of the configured email ids.
> If I add any Project group notifier, the notification is being sent to that email id irrespective of the distributed build state.
> The ciManagement section of the pom.xml file is like below;
> <ciManagement>
> <system>continuum</system>
> <url>http://server.url/continuum</url>
> <notifiers>
> <notifier>
> <type>mail</type>
> <sendOnError>true</sendOnError>
> <sendOnFailure>true</sendOnFailure>
> <sendOnSuccess>true</sendOnSuccess>
> <sendOnWarning>true</sendOnWarning>
> <configuration>
> <address>email.id@server.com</address>
> </configuration>
> </notifier>
> </notifiers>
> </ciManagement>
> Please let me know if this is bug or not. If not, what I need to do to send email notification when distributed build is enabled.
> P.S.: I have tested this with continuum 1.3.4 and 1.4.0 and both in Windows and Linux environment with no luck.
> Thanks,
> Bodhayan.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Updated: (CONTINUUM-2626) Email Notification not sent when
Distributed Build enabled
Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/CONTINUUM-2626?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Brett Porter updated CONTINUUM-2626:
------------------------------------
Patch Submitted: [Yes]
Fix Version/s: 1.4.1 (Beta)
1.3.8
thanks for the patch!
> Email Notification not sent when Distributed Build enabled
> ----------------------------------------------------------
>
> Key: CONTINUUM-2626
> URL: http://jira.codehaus.org/browse/CONTINUUM-2626
> Project: Continuum
> Issue Type: Bug
> Components: Distributed Builds, Notifier - Mail
> Affects Versions: 1.3.7
> Environment: Linux, Windows, Jdk 1.6.0_17
> Reporter: Bodhayan Chakraborty
> Fix For: 1.3.8, 1.4.1 (Beta)
>
> Attachments: continuum-buildagent-core-1.3.7.jar, Notifier_gone_after_Build_Ended.png, Notifier_present_Before_Build_Started.png, patch.diff
>
>
> I am using Continuum 1.3.7 and Build Agent 1.3.7. When I am disabling the build agent, the email notifications are being sent when there is any change of state. When I enable distributed build, the build is completing successfully, but no email notification is being sent. The Notifier section under Project Information page is also not showing any of the configured email ids.
> If I add any Project group notifier, the notification is being sent to that email id irrespective of the distributed build state.
> The ciManagement section of the pom.xml file is like below;
> <ciManagement>
> <system>continuum</system>
> <url>http://server.url/continuum</url>
> <notifiers>
> <notifier>
> <type>mail</type>
> <sendOnError>true</sendOnError>
> <sendOnFailure>true</sendOnFailure>
> <sendOnSuccess>true</sendOnSuccess>
> <sendOnWarning>true</sendOnWarning>
> <configuration>
> <address>email.id@server.com</address>
> </configuration>
> </notifier>
> </notifiers>
> </ciManagement>
> Please let me know if this is bug or not. If not, what I need to do to send email notification when distributed build is enabled.
> P.S.: I have tested this with continuum 1.3.4 and 1.4.0 and both in Windows and Linux environment with no luck.
> Thanks,
> Bodhayan.
--
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