Build email notifications for Sloth CI apps
Project description
Sloth CI extension that adds an SMTP handler to the build logger in Sloth CI apps.
Extension params:
# Use the module sloth-ci.ext.build_email_notifications. module: build_email_notifications # Emails to send the notifications to. emails: - foo@bar.com - admin@example.com # Log level (number or valid Python logging level name). # ERROR includes only build fails, WARNING adds partial completions, # INFO adds completion, and DEBUG adds trigger notifications. # Default is WARNING. level: INFO # The "from" address in the emails. Default is "build@sloth.ci." from: notify@example.com # The email subject on build trigger. You can use the {listen_point} placeholder. # Default is "{listen_point}: Build Triggered." subject_triggered: 'Triggered build on {listen_point}!' # The email subject on build completion.You can use the {listen_point} placeholder. # Default is "{listen_point}: Build Completed." subject_completed: 'Hooray! {listen_point} works!' # The email subject on build partial completion. You can use the {listen_point} placeholder. # Default is "{listen_point}: Build Partially Completed." subject_partially_completed: 'Better than nothing on {listen_point}' # The email subject on build fail. You can use the {listen_point} placeholder. # Default is "{listen_point}: Build Failed." subject_failed: 'Fail on {listen_point}' # SMTP settings. # SMTP mail host and (if not default) port. # Mandatory parameter. mailhost: 'smtp-mail.outlook.com:25' # SMTP login. login: foo@bar.baz # SMTP password. password: bar # If the SMTP server requires TLS, set this to true. Default is false. # If necessary, you can provide a keyfile name or a keyfile and a certificate file names. # This param is used only the login and password params are supplied. secure: true # secure: # - keyfile # - cerfile
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
Close
Hashes for sloth-ci.ext.build_email_notifications-1.0.1.zip
Algorithm | Hash digest | |
---|---|---|
SHA256 | 41ac18f804b29276ede6133213dd425a9e92d2bc18bd07fca03bf63a970e60ec |
|
MD5 | 635232901f670dde90a53a9c1fea8166 |
|
BLAKE2b-256 | 07e2676ccc39407e00975e774537924c5068c5c96a4ff183fcacbe17e773229b |
Close
Hashes for sloth_ci.ext.build_email_notifications-1.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a1405bffdca150ab95b57a2f1bf9e70ea448cdd09d57c574533979fc090f47e7 |
|
MD5 | de04038b0de54240ba530d8228aa057b |
|
BLAKE2b-256 | 6627a4d98942543c5dd9d178b10936fc28bbbf0fd2e4429dc2b17a96eab57047 |
Close
Hashes for sloth-ci.ext.build_email_notifications-1.0.1.win-amd64.exe
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7279cd3fdd62e3b5add09807c0e59b620dc9c6ab825e2b0f4b9f9d671cc5e713 |
|
MD5 | 5849dbb503989fcfe93d55a9f23a3066 |
|
BLAKE2b-256 | d5743082a3415143557486a4e34a6c8a73ec67c976053849da6e3f0c9f3c1cca |