Can I attach artifacts in an email notification in Bamboo?

We have a plan that creates an executable artifact. Is there any way to tell bamboo to send these artifacts as attachments in the build notification? For recording we use atlassian on request.

+6
source share
2 answers

You can send an email with a bash script using sendmailhere, this is a quick tutorial . Then you can simply include the link artifactin the email

+2
source

, Bamboo , 2019 , 2013 . HTML-, Bamboo.

, . , , powershell, html-, .

Send-MailMessage -SmtpServer smtp.yourcompanydomain.com -Port 25 -To $toEmail -From $fromEmail -Subject $subject -Body $message -BodyAsHtml -Attachments report.html -Credential $mycreds

, $ toEmail, , $ toEmail = "abc@xyx.com" $ mycreds = ,

0

All Articles