Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

How to send email notification before build

Randhir Panda June 13, 2016

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

0 votes
Randhir Panda June 13, 2016

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.

Alexey Chystoprudov
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
June 13, 2016
  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.

 

0 votes
SidduAngadi June 13, 2016

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

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events