Details
-
Bug
-
Resolution: Unresolved
-
Low
-
None
-
8.0.5
-
None
-
1
-
Severity 2 - Major
-
Description
Summary:
Emails notifications are not sent for finished builds when "First Failed Job For Plan -> Committers" is selected.
Environment:
- Bamboo 8.0.5
- Tested with Bitbucket Server 7.1.5 git{}
Steps to Reproduce:
1. Configure a (git) repository in Bitbucket server.
2. In Bamboo, configure a plan with that repository, and a Bitbucket Server trigger.
3. Configure notifications for "First Failed Job For Plan " -> Committers".
4. Commit something.
Expected Results:
An email is sent to the commiter.
Actual Results:
No emails are sent.
After the build finished, Bamboo surprisingly reports that there were no commits done:
2022-02-25 14:07:29,723 DEBUG [AtlassianEvent::0-BAM::EVENTS:pool-1-thread-14] [CommitterRecipient] 0 commits found to send notifications for. 2022-02-25 14:07:29,723 DEBUG [AtlassianEvent::0-BAM::EVENTS:pool-1-thread-14] [CommitterRecipient] No commits found. Not sending any notifications
Notes:
This is logged in the server log:
2022-02-25 14:07:29,694 INFO [AtlassianEvent::0-BAM::EVENTS:pool-1-thread-33] [BuildCompletedEventListener] Running build post actions 'MIPS-MIPSPLUSMICROSRV-JOB1' 2022-02-25 14:07:29,704 INFO [21-IndexerService.indexer:pool-39-thread-1] [DefaultBuildResultsIndexer] Indexed MIPS-MIPSPLUSMICROSRV-JOB1-701 2022-02-25 14:07:29,705 DEBUG [AtlassianEvent::0-BAM::EVENTS:pool-1-thread-32] [BuildCompletedNotificationListener] Completed Builds Notification Listener checking for notifications to send for MIPS-MIPSPLUSMICROSRV-JOB1-701 2022-02-25 14:07:29,714 INFO [AtlassianEvent::0-BAM::EVENTS:pool-1-thread-30] [EnvironmentDependencyListener] Deployments not triggered since chain stage failed 2022-02-25 14:07:29,716 INFO [AtlassianEvent::0-BAM::EVENTS:pool-1-thread-13] [ChainExecutionManagerImpl] Plan MIPS-MIPSPLUSMICROSRV-701: MIPS - MIPSPLUS - Microservices has finished executing 2022-02-25 14:07:29,716 DEBUG [AtlassianEvent::0-BAM::EVENTS:pool-1-thread-23] [BuildCompletedNotificationListener] Completed Builds Notification Listener checking for notifications to send for MIPS-MIPSPLUSMICROSRV-JOB1-701 2022-02-25 14:07:29,722 DEBUG [AtlassianEvent::0-BAM::EVENTS:pool-1-thread-14] [BuildCompletedNotificationListener] Completed Builds Notification Listener checking for notifications to send for MIPS-MIPSPLUSMICROSRV-JOB1-701 2022-02-25 14:07:29,722 DEBUG [AtlassianEvent::0-BAM::EVENTS:pool-1-thread-14] [BuildCompletedNotificationListener] Completed build notification (com.atlassian.bamboo.plugin.system.notifications:buildCompleted.firstJobFailed) rule found for recipient: , type: com.atlassian.bamboo.plugin.system.notifications:recipient.committer 2022-02-25 14:07:29,723 DEBUG [AtlassianEvent::0-BAM::EVENTS:pool-1-thread-14] [CommitterRecipient] 0 commits found to send notifications for. 2022-02-25 14:07:29,723 DEBUG [AtlassianEvent::0-BAM::EVENTS:pool-1-thread-14] [CommitterRecipient] No commits found. Not sending any notifications 2022-02-25 14:07:29,726 INFO [AtlassianEvent::0-BAM::EVENTS:pool-1-thread-13] [PlanStatePersisterImpl] Updating delta states of build following MIPS-MIPSPLUSMICROSRV-DEPLOY-701 2022-02-25 14:07:29,730 INFO [AtlassianEvent::0-BAM::EVENTS:pool-1-thread-13] [PlanStatePersisterImpl] Updating delta states of build following MIPS-MIPSPLUSMICROSRV-701 2022-02-25 14:07:29,741 INFO [AtlassianEvent::0-BAM::EVENTS:pool-1-thread-13] [PostChainIndexAction] Indexing MIPS-MIPSPLUSMICROSRV-701 2022-02-25 14:07:29,765 INFO [AtlassianEvent::0-BAM::EVENTS:pool-1-thread-13] [DependencyChainListener] Checking children plans of [MIPS-MIPSPLUSMICROSRV] for plan MIPS-MIPSPLUSMICROSRV-701 2022-02-25 14:07:29,765 INFO [AtlassianEvent::0-BAM::EVENTS:pool-1-thread-13] [DependencyChainListener] Dependant builds not checked since plan failed 2022-02-25 14:07:29,765 INFO [AtlassianEvent::0-BAM::EVENTS:pool-1-thread-13] [DependencyChainListener] Finished checking children plans of 'MIPS - MIPSPLUS - Microservices' for plan MIPS-MIPSPLUSMICROSRV-701 2022-02-25 14:07:29,765 INFO [AtlassianEvent::0-BAM::EVENTS:pool-1-thread-44] [EnvironmentDependencyListener] Deployments not triggered since chain failed 2022-02-25 14:07:29,765 DEBUG [AtlassianEvent::0-BAM::EVENTS:pool-1-thread-27] [ChainCompletedNotificationListener] Completed Chain Notification Listener checking for notifications to send for MIPS-MIPSPLUSMICROSRV-701
Workaround:
Although it's not exactly equivalent, using "All builds completed -> Committers" does work.
Attachments
Issue Links
- is related to
-
BAM-18935 Emails notifications are not sent for finished builds when "All jobs completed -> Committers" is selected.
- Gathering Impact
- relates to
-
BAM-18935 Emails notifications are not sent for finished builds when "All jobs completed -> Committers" is selected.
- Gathering Impact
- mentioned in
-
Page Loading...