mirror of
https://github.com/cp2k/cp2k.git
synced 2026-07-27 21:55:16 -04:00
Dashboard: Only send emails for status FAILED
This commit is contained in:
parent
acd3ab155c
commit
2fa06f6b70
1 changed files with 1 additions and 1 deletions
|
|
@ -196,7 +196,7 @@ def gen_frontpage(
|
|||
if report.status == "OK":
|
||||
status[s].last_ok = report.sha
|
||||
status[s].notified = False
|
||||
elif do_notify and not status[s].notified:
|
||||
elif report.status == "FAILED" and do_notify and not status[s].notified:
|
||||
send_notification(report, status[s].last_ok, log, name, s, send_emails)
|
||||
status[s].notified = True
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue