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.5.zip
Algorithm | Hash digest | |
---|---|---|
SHA256 | ca2484371e0fe55484391568fc085de0263126b61022b885700d7c052ad55182 |
|
MD5 | d717f754a26f4851449410970655ce1a |
|
BLAKE2b-256 | 48079fbdfcd09d987be9a114994f84c9a139669db28858592f3d74bf5420ab81 |
Close
Hashes for sloth_ci.ext.build_email_notifications-1.0.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 60b622a8f92d843f4335303e3d2388166b545132181deb420f6ac8a216ff950c |
|
MD5 | 10919a0fc611fb3322fdb2c8ae7ad438 |
|
BLAKE2b-256 | 5970751b20c1f21da2b34c807c91408bc62941d16836278929b3a7780c2f99d6 |
Close
Hashes for sloth-ci.ext.build_email_notifications-1.0.5.win-amd64.exe
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3f989a274b43d9f40f0888c1d9d1e305c543143feeddab3a57bb74240a971473 |
|
MD5 | be2a1e3a8d71b3131e046f16f2354271 |
|
BLAKE2b-256 | 836482c2f13e34debd850434a61f260699a5d8b7c0d81efcb520970f18503d32 |