We have a plan that produces an executable artifact. Is there a way to tell bamboo to email those artifacts as attachments in a build notification? For the record we're using atlassian on-demand.
You can send a email from a bash script using sendmail
here is a quick tutorial. You can then just include the artifact
link in the email
No wonder Bamboo still didn't have this fixed and we are in 2019 and this request was from 2013. We do have a html report that we want to send along with Notification email from Bamboo.
But we were told its not possible in Bamboo. So we came up with a final task in our build which runs a powershell script that sends email with the html report we generate.
Send-MailMessage -SmtpServer smtp.yourcompanydomain.com -Port 25 -To $toEmail -From $fromEmail -Subject $subject -Body $message -BodyAsHtml -Attachments report.html -Credential $mycreds
You have to declare variables like $toEmail, like $toEmail = "[email protected]" $mycreds = credentials for account from which you are sending
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With