logo
0
0
Login

CNB Email通知插件

这是一个用于云原生构建(CNB)的Email邮件通知插件,可以在构建流程中发送邮件通知。

参数设计

参数描述是否必填默认值
smtp_serverSMTP服务器地址-
smtp_portSMTP服务器端口587
usernameSMTP账号用户名-
passwordSMTP账号密码-
sender发件人邮箱-
recipients收件人邮箱列表,用逗号分隔-
subject邮件主题"CNB构建通知"
body邮件正文内容"构建已完成"
html是否使用HTML格式false
ssl是否使用SSL连接false

使用样例

main: push: - stages: - name: 发送邮件通知 image: imboss/email-notify settings: smtp_server: smtp.example.com smtp_port: 587 username: your-username password: your-password sender: sender@example.com recipients: recipient1@example.com,recipient2@example.com subject: 构建成功通知 body: 您的项目已成功构建 html: true ssl: false

开发和贡献

这个插件是使用Python编写的。如果您想贡献代码或报告问题,请参考CNB插件贡献指南

About

CNB插件,可用于流水线中发送构建通知。

108.00 KiB
0 forks0 stars1 branches0 TagREADMEMIT license
Language
Python30%
Markdown29.4%
gitignore14.8%
Shell11.9%
Others13.9%