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). # CRITICAL 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.0.zip
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0b6eb26c6ee186c78d90303d0767882c02d508e7cd17f536d6f91188b59c3156 |
|
MD5 | 53b3e72db608d7c3cde2b04d0fa1bbd1 |
|
BLAKE2b-256 | 17c8b96116fffeba1a3b299d3b70f297784f6a8a8f5f3638ce95c49ea4d39898 |
Close
Hashes for sloth_ci.ext.build_email_notifications-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a22e306a616ea997bec3e01e43f79766dec8c1fca300374ab1aa2592de458874 |
|
MD5 | 1c5a129e2d292356e69d3a1354893ba2 |
|
BLAKE2b-256 | ca6172cbea49d481368bf5d74a6c52d4b3f720567c8d0ca4b1d4e97b56e1bc66 |
Close
Hashes for sloth-ci.ext.build_email_notifications-1.0.0.win-amd64.exe
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4e15d4cc22be2c7548c0cb053ca912c6473fed2aa8da22c9407e2bca5ded4e34 |
|
MD5 | 78836d85811e24614cba1d93e4db397b |
|
BLAKE2b-256 | aa327aa0c6d7685ff4c030fd985ada8beb6fa155bafd338f3dc65f831926c44c |