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 if 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.6.zip
Algorithm | Hash digest | |
---|---|---|
SHA256 | bfba993750f09437c4d08697989cdeae0ed686340428df456dded9016b1fbc79 |
|
MD5 | 31b05a61d5dabb4585dc1ef531a769e9 |
|
BLAKE2b-256 | 0f93d3e747ddd24ecb3e744006fffbd138e032fdfafb2a9aafdfc88d832f5486 |
Close
Hashes for sloth_ci.ext.build_email_notifications-1.0.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 86f516decae2e765078fe6addf34568e44bfe435738367ac9c862d9b2b97dd08 |
|
MD5 | 159ae9ea8f8ccbf055dcfe1943ead3fa |
|
BLAKE2b-256 | 4bcaa906c08b5f8a5e7ad1a6908de235deddf1b3edf6ca4a2d5380e791ee8e13 |
Close
Hashes for sloth-ci.ext.build_email_notifications-1.0.6.win-amd64.exe
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9bf42713756a05981731c5b8e7f5523756d8510a671c4fce3eadba3ea5b3d686 |
|
MD5 | 38d38482aaec81883fdbdd485afafd48 |
|
BLAKE2b-256 | 27f50c23e7c4de01e2ce21de235de8e8a1344029ba8a690925210dfa45e5e14c |