Send an email message (note: requires python 2.x)
from
- From address.to
- To address.host
- The host of your SMTP server.username
- The username for your SMTP server.password
- The password for your SMTP server.
passed-subject
- Use this option to override the default passed subject.failed-subject
- Use this option to override the default failed subject.passed-body
- Use this option to specify the passed body.failed-body
- Use this option to specify the failed body.on
- Possible values:always
andfailed
, defaultalways
branch
- Use this option to specify the branch for which an email should be sent. If not specified, the email will be sent for builds of all branches.
Add EMAIL_PASSWORD as deploy target or application environment variable.
build:
after-steps:
- email-notify:
from: [email protected]
to: [email protected]
username: username
password: $EMAIL_PASSWORD
host: smtp.gmail.com:587
branch: master
- added option to specify branch
- added result (passed/failed) message for build and deploys
- library embedded for sending email messages
- add sensible default message. Just like s-kawaguchi's email-notify step
- initial release