2
votes

I'm starting out with Azure DevOps and I trying to find a way to get the artifact I created in the pipeline and send it by email (as part of the pipeline).

1

1 Answers

2
votes

This feature not exist in Azure DevOps and I don't recommend to send the artifacts by email because the artifacts size should be very big.

What you can do is to install Send Email extension (or this), there you can send email during your build pipeline but only a text, so just send the artifacts download link, when the user will get the email he will click the link and will download the artifacts.

You just need to configure the SMTP server and the Message that will contains the link:

enter image description here

In the "Message" field replace {org} with your organization name, {project} with the project name and {name} with the artifacts name you specified in "Publish Artifacts" task (e.g. "drop").