Search code examples
gradlegroovybamboobamboo-artifacts

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


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?


Solution

  • 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