Missing Email notification

 Is there a "feature" in TeamCity that will prevent an email from being sent if the user was recently logged in to the team city website? I've turned on debug-notification and have reviewed the log, the user (me) who didn't receive the email appears to not have been selected to receive it despite the notfication rule being on the All Users group (and no overrides at the user or other group levels) Other users configured exactly the same (same groups, same lack of notification settings at the user level) except that they hadn't been logged in for hours get the email.

If yes, is there any way to disable it?

Here is my use case:

I'm logged into the Team City website to manually kick off the nightly build, I log out and go home. The build finishes a short time later (5 minutes). I want the email notification so that I don't have to open up my laptop when I get home, connect the vpn and log into the build server to see the status... I want to get the email on my phone on the way home and I know all is well, and I can stop off for a beer or something.

I'm using TeamCity Professional 2017.2.2 (build 50909)

Here are my All Users Notification settings (there are no other notification settings, its a brand new setup):

Email Notifier (3) | IDE Notifier (2) | Jabber Notifier (1) | Windows Tray Notifier (1)
Use drag-and-drop to reorder the rules. The first matching rule will apply.
Watching Send notification when    
  Events in
- Default branch
and related to the following projects and build configurations
  <Root project>
  MainProject
Nightly Build 
- Build fails
- Build is successful
- Build fails to start
Edit Delete
  Events in
- Builds containing my changes
- All branches
and related to the following projects and build configurations
  <Root project>
 
- Build fails
- Build fails (keep notifying until build is complete even without my changes)
Edit Delete
  System wide events
- Investigation assigned to me
Edit Delete
 
0
5 comments

Hello

No, there is no such feature in TeamCity. Why do you think this problem is related to recent log in? Are you getting notifications when you haven't logged in for a while?

0
Avatar
Permanently deleted user

I do sometimes get notification emails, but I haven’t yet been able to determine a pattern. I thought maybe it was recent login feature and something else. Is there any logging or diagnostics I can put on how it chooses which users to notify? Debug-notifications seems useful when there’s a problem sending the notification, but doesn’t really ever give any detail on how it figures out whom to notify.

0

You can set an internal property to enable per-user logging

teamcity.notification.logPerUserFiltering=true

Did the build you've mentioned passed in the default (master) branch? 

0
Avatar
Permanently deleted user

Thank you, I'll turn that on. Yes the build passed, I also moved the notification up to the top of the list just in case there was another notification taking precedence.

0

Please also check that the build is running in the default branch or modify the first notification rule to watch all branches

0

Please sign in to leave a comment.