How to send email notification before build

This question is in reference to Atlassian Documentation: Configuring notifications for a plan and its jobs

We have a requirement to send an email communication to the list of user before the build start.

How do I configure this in bamboo server ?

I don't see any notification type to trigger an email on pre-build event.

 

2 answers

There is no plugin available for this.

 

YOu can two ways:

 

  1.  Write ur own plugin or extend repository before event module
  2. if you are not expert in bamboo devlopment, use script task and execute script to send email.

What exactly you trying to achive by sending email before plan execution.

 

If you want use inbuilt notification refer:  https://confluence.atlassian.com/bamboo/configuring-notifications-for-a-plan-and-its-jobs-289276973.html#Configuringnotificationsforaplananditsjobs-events

Thanks Siddu for you answer.

could you please explain little more on the above 2 points. I am from .Net world and can I write a bamboo plugin on .net ? Also for the #2, I have used script task heavily in my build plan to do the MSBuild, copy the file , to run powershell script and all. Is their a way to send email through script task ? Any URL link or steps on this will be highly helpful for me.

  1. No, your plugin should be compiled to Java bytecode
  2. http://tecadmin.net/ways-to-send-email-from-linux-command-line/# and http://www.howtogeek.com/120011/stupid-geek-tricks-how-to-send-email-from-the-command-line-in-windows-without-extra-software/

In solution 2 email will be sent by OS or 3rd party library which you have to configure separately.

 

Suggest an answer

Log in or Join to answer
Community showcase
Renan Battaglin
Published May 18, 2017 in Bamboo

FAQ: How to Upgrade Bamboo Server

Bamboo 5.9 will no longer be supported after June 12, 2017. What does this mean? As part of our End of Life policy, Atlassian supports major versions for two years after the first major iteratio...

1,075 views 0 5
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot