forked from mattock/openvpn-buildbot
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enable per-project email notification setup
This change allows defining the notification email on a per-project basis. Signed-off-by: Samuli Seppänen <[email protected]>
- Loading branch information
Showing
3 changed files
with
71 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -279,6 +279,55 @@ docker_url=tcp://172.18.0.1:2375 | |
docker_url=tcp://10.29.32.2:2375 | ||
``` | ||
|
||
# Email notification setup | ||
|
||
Buildbot expects a local MTA such as postfix to be configured correctly. | ||
However, there are still several parameters in *master.ini* for configuring | ||
email notification preferences. | ||
|
||
You can define an *owner* property for each project separately. It defines an | ||
email address where build failure notifications for that project are sent. | ||
|
||
``` | ||
# Applies when a project-specific "owner" is missing | ||
[DEFAULT] | ||
[email protected] | ||
[openvpn] | ||
[email protected] | ||
[openvpn3] | ||
[email protected] | ||
[openvpn3-linux] | ||
[email protected] | ||
[ovpn-dco] | ||
[email protected] | ||
``` | ||
|
||
Note that value of *owner* must not be quoted. | ||
|
||
Other settings that affect mail delivery are: | ||
|
||
``` | ||
[email] | ||
# Send email to this address when a worker goes missing. Only affects "always-on" workers. | ||
notify_on_missing=["[email protected]"] | ||
# Additional recipients who should get all build failure emails. | ||
extra_recipients=["[email protected]"] | ||
# Source address for the emails. Should generally match the SMTP username in | ||
# the local MTA configuration. | ||
[email protected] | ||
# Address of the local MTA as seen by the Buildmaster container. Usually the | ||
# Docker host that also runs Buildbot. | ||
relayhost=172.18.0.1 | ||
``` | ||
|
||
# Development | ||
|
||
## Defining image version and name | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters