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

This widget could not be displayed.

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

This widget could not be displayed.

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 Sign up to answer
Community showcase
Posted yesterday in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

79 views 0 1
Join discussion

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