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.4.zip
Algorithm | Hash digest | |
---|---|---|
SHA256 | f11af653737f6f31a3f72c504e20e18a07bd539f2a5898c47f8508ac78b92427 |
|
MD5 | ecd95de6794765cdde92cac38e37401b |
|
BLAKE2b-256 | 273e7291dc65f95f320c42295aac2b887bb0d16e4234a8a4ea52d87e096a2d85 |
Close
Hashes for sloth_ci.ext.build_email_notifications-1.0.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f7c5d443215de97e1c006100adb1cfe817ec9f496eb53c03017109bfb9accc62 |
|
MD5 | a05a6a781f0d6908b2d10ddae42bea19 |
|
BLAKE2b-256 | 07d048fd50a31a9c9e4a6f00a59d64e35ba44a53d87016be58d1100d8cf46839 |
Close
Hashes for sloth-ci.ext.build_email_notifications-1.0.4.win-amd64.exe
Algorithm | Hash digest | |
---|---|---|
SHA256 | 264f42384b5b5f9a67f7a7cd9fe67bc248a2ca26d6a4d771fefc2634ecabe97a |
|
MD5 | ea3965fa5b6fe8cc8f84d8f5fa86e6d8 |
|
BLAKE2b-256 | 634e7a7f6c0de454a4bc43e7d3502e20722a44997512af7dc19b126cf906607f |