File tree 1 file changed +20
-0
lines changed
1 file changed +20
-0
lines changed Original file line number Diff line number Diff line change @@ -471,6 +471,26 @@ build_exotic =
471
471
472
472
<xi : include href =" declarative-projects.xml" />
473
473
474
+ <section >
475
+ <title >Email Notifications</title >
476
+ <para >
477
+ Hydra can send email notifications when the status of a build changes. This provides
478
+ immediate feedback to maintainers or committers when a change causes build failures.
479
+ </para >
480
+
481
+ <para >
482
+ The simplest approach to enable Email Notifications is to use the ssmtp package, which
483
+ simply hands off the emails to another SMTP server. For details on how to configure ssmtp,
484
+ see the documentation for the <varname >networking.defaultMailServer</varname > option.
485
+ To use ssmtp for the Hydra email notifications, add it to the path option of the Hydra services
486
+ in your <filename >/etc/nixos/configuration.nix</filename > file:
487
+ <programlisting >
488
+ systemd.services.hydra-queue-runner.path = [ pkgs.ssmtp ];
489
+ systemd.services.hydra-server.path = [ pkgs.ssmtp ];
490
+ </programlisting >
491
+ </para >
492
+ </section >
493
+
474
494
</chapter >
475
495
476
496
<!--
You can’t perform that action at this time.
0 commit comments