2015-11-11 02:58:02 +01:00
|
|
|
Use the Email plugin to send an email to a recipient list when a build completes. The following parameters are used to configure the email plugin:
|
2015-11-11 02:44:23 +01:00
|
|
|
|
2015-11-11 02:58:02 +01:00
|
|
|
* `from` - sends email from this address
|
|
|
|
* `host` - smtp server host
|
|
|
|
* `port` - smtp server port (defaults to `587`)
|
|
|
|
* `username` - smtp server username
|
|
|
|
* `password` - smtp server password
|
|
|
|
* `recipient` - list of email recipients (defaults to commit email)
|
2015-11-11 02:44:23 +01:00
|
|
|
|
|
|
|
Same email configuration:
|
|
|
|
|
|
|
|
```yaml
|
|
|
|
notify:
|
|
|
|
email:
|
|
|
|
from: noreply@github.com
|
|
|
|
host: smtp.mailgun.org
|
|
|
|
port: 587
|
|
|
|
username: octocat
|
|
|
|
password: 12345
|
|
|
|
recipients:
|
|
|
|
- octocat@github.com
|
|
|
|
```
|