How to email a file which resides in bamboo-artifacts after successful build of plan?

605 Views Asked by At

I have a test-report file that resides in bamboo-artifact once the job is successfully executed. I want to email that report or file after successful execution. Is there any method I can include that file within a mail?

1

There are 1 best solutions below

0
ASHWIN NAYAK On BEST ANSWER

Adding artifacts in build notification mails is not possible in Bamboo.

So, You can either add this functionality (SMTP mail) in your code that will zip & mail the file

OR

You can customize the bamboo build notification by adding extra info By Customizing the notification following this Working with Freemarker