Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 1.3.7
-
Component/s: Distributed Builds, Notifier - Mail
-
Labels:None
-
Environment:Linux, Windows, Jdk 1.6.0_17
-
Complexity:Intermediate
-
Patch Submitted:Yes
-
Number of attachments :4
Description
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.
-
- patch.diff
- 18/May/11 12:23 PM
- 1 kB
- Bodhayan Chakraborty
-
Hide
- continuum-buildagent-core-1.3.7.jar
- 18/May/11 12:23 PM
- 128 kB
- Bodhayan Chakraborty
-
- META-INF/MANIFEST.MF 0.5 kB
- META-INF/DEPENDENCIES 19 kB
- META-INF/LICENSE 11 kB
- META-INF/NOTICE 0.2 kB
- META-INF/plexus/components.xml 16 kB
- META-INF/spring-context.xml 2 kB
- org/apache/.../ChangeLogProjectAction.class 5 kB
- org/apache/.../CheckoutProjectAction.class 7 kB
- org/.../CheckWorkingDirectoryAction.class 2 kB
- org/.../CleanWorkingDirectoryAction.class 2 kB
- org/.../CreateBuildProjectTaskAction.class 3 kB
- org/apache/.../ExecuteBuilderAction.class 5 kB
- org/.../UpdateProjectFromWorkingDirectoryAction.class 3 kB
- org/.../UpdateWorkingDirectoryAction.class 9 kB
- org/apache/.../AbstractBuildExecutor.class 16 kB
- org/apache/.../ant/AntBuildExecutor.class 5 kB
- org/.../ContinuumAgentBuildCancelledException.class 0.7 kB
- org/.../ContinuumAgentBuildExecutionResult.class 0.7 kB
- org/.../ContinuumAgentBuildExecutor.class 2 kB
- org/.../ContinuumAgentBuildExecutorException.class 0.8 kB
- org/.../BuildAgentBuildExecutorManager.class 0.6 kB
- org/.../DefaultBuildAgentBuildExecutorManager.class 3 kB
- org/.../BuildAgentMavenOneMetadataHelper.class 0.7 kB
- org/.../BuildAgentMavenOneMetadataHelperException.class 0.8 kB
- org/.../DefaultBuildAgentMavenOneMetadataHelper.class 7 kB
- org/apache/.../MavenOneBuildExecutor.class 6 kB
- org/.../BuildAgentMavenBuilderHelper.class 0.7 kB
- org/.../DefaultBuildAgentMavenBuilderHelper.class 19 kB
- org/apache/.../MavenTwoBuildExecutor.class 11 kB
- org/.../SettingsConfigurationException.class 1 kB
-
- Notifier_present_Before_Build_Started.png
- 32 kB
- 17/May/11 12:00 PM
-
- Notifier_gone_after_Build_Ended.png
- 39 kB
- 17/May/11 12:00 PM
Activity
The continuum-buildagent-core-1.3.7.jar contains patched AbstractBuildExecutor class.
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)
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.