This Pipelines Task sends email notifications from your Pipelines Step.
This task requires a SMTP Credentials integration.
- task: email@example.com id: email-notify input: emailIntegration: "int_smtp" to: "firstname.lastname@example.org" subject: "JFrog Pipelines Email task" message: "Hello there, sent via JFrog Pipe email Task"
By default, the task will use
JFROG_CLI_BUILD_NUMBER environment variables when publishing the build info.
SMTP credentials integration name.
Comma separated list of destination email addresses.
Subject for the email message.
Email message to be sent.
Exported Environment Variables
How does it work?
The task uses nodemailer module to send an email message.
Creating Less Secure Apps
Most of the email services like Gmail and Yahoo have disabled the option of sending mails via less secure means, which will affect sending mails via third party applications.
There are other emails hosts like zoho, proton, which still allow sending emails via less secure way and custom domain emails should still allow this. Make sure you have the right host, port and email addresses.
This project is licensed under Apache 2.0 license.