Send an email within your pipeline.
Name | Required | Type | Default | Description |
---|---|---|---|---|
to | Required | String | The address to send this email to. | |
subject | Required | String | The subject of the email. | |
body | Required | String | The body of the email to send. | |
from | String | Who to show the email was sent from. | ||
bcc | String | BCC email address list. | ||
cc | String | CC email address list. | ||
charset | String | UTF-8 |
Email body character encoding. | |
mimeType | String | text/plain. |
Email body MIME type. | |
replyTo | String | Reply-To email address. |
Send an email.
Name | Required | Type | Default | Description |
---|---|---|---|---|
to | Required | String | The address to send this email to. | |
subject | Required | String | The subject of the email. | |
body | Required | String | The body of the email to send. | |
from | String | Who to show the email was sent from. | ||
bcc | String | BCC email address list. | ||
cc | String | CC email address list. | ||
charset | String | UTF-8 |
Email body character encoding. | |
mimeType | String | text/plain. |
Email body MIME type. | |
replyTo | String | Reply-To email address. |
branches:
feature:
steps:
- email:
- send: Example email from {{ build_url }}
- send:
body: Example email from {{ build_url }}
to: [email protected]
pipelines:
tools:
email:
cc: [email protected]
replyTo: [email protected]
branches:
patterns:
feature: .+
branches:
feature:
steps:
- custom: # This should be your build process
- buildPackage:
- email:
- send:
to: [email protected]
body: "Deployment to staging successful for branch {{ branch_name }} | {{ build_url }}"
master:
steps:
- email:
- send:
to: [email protected]
body: "Merge to master successful, deployment successful | {{ build_url }}"