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.3.zip
Algorithm | Hash digest | |
---|---|---|
SHA256 | b1d665712c191d6e03beef6d9e69b1f1e9b5da64ae8d21360332917e23bf4246 |
|
MD5 | e1cd8bf9381e748d5c4589d420febe8c |
|
BLAKE2b-256 | 406abb9b8dee1479e13f07ca14c7880f2718c2abb804305a10a2a56713d8fb21 |
Close
Hashes for sloth_ci.ext.build_email_notifications-1.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 532169be666a95c983aa2d68a7464faa7fc94463a39c0feaac51f78c1526d8e0 |
|
MD5 | e7fc43c4fcd2467196b21db9748dd6a3 |
|
BLAKE2b-256 | 771caa7c0b3969e1061cad35ab4d5fd485caba8cb7903fa35f91947f52a6eadd |
Close
Hashes for sloth-ci.ext.build_email_notifications-1.0.3.win-amd64.exe
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5e91e2c9d3a7d9558d2bf3efd9ce2387a564f1c12f17c84585003426543f7aad |
|
MD5 | 4f77d8ce3e6a29941f0d3aec925500cb |
|
BLAKE2b-256 | 0f0926caa2579496b1161a775c9f4a906f894ae1d8cfd45aaa3e46d64627f55c |