I have added a bash script to do this and it's working smoothly.

On Wednesday, 24 May 2017 14:58:58 UTC+1, Dirk Heinrichs wrote:
>
> Am 24.05.2017 um 12:23 schrieb Chandanlal Chouhan:
>
> I am actually looking for similar kind of solution in which I need to send 
> email using email-extn plugin before build and then sleep for 2 minute and 
> then MSBuild starts and deployed to server.  I have tried using quite 
> feature of Jenkins but does not serve my purpose. 
> I am new to Jenkins. Can anyone help me in this. example would be 
> appreciated.
>
>
> EMail Ext Plugin won't help you here, since it's a post-build action. 
> However, you could put bash script as first build step into your job that 
> sends the mail and then sleeps for 2 minutes before continuing with the 
> next step. You could also put that into a wrapper job which only executes 
> the bash build step and then triggers your real job.
>
> HTH...
>
>     Dirk
> -- 
> *Dirk Heinrichs*
> Senior Systems Engineer, Delivery Pipeline
> OpenTextTM Discovery | Recommind
> *Email*: [email protected] <javascript:>
> *Website*: www.recommind.de
>
> Recommind GmbH, Von-Liebig-Straße 1, 53359 Rheinbach
>
> Vertretungsberechtigte Geschäftsführer John Marshall Doolittle, Gordon 
> Davies, Roger Illing, Registergericht Amtsgericht Bonn, Registernummer HRB 
> 10646
>
> This e-mail may contain confidential and/or privileged information. If you 
> are not the intended recipient (or have received this e-mail in error) 
> please notify the sender immediately and destroy this e-mail. Any 
> unauthorized copying, disclosure or distribution of the material in this 
> e-mail is strictly forbidden
>
> Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte 
> Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail 
> irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und 
> vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte 
> Weitergabe dieser Mail sind nicht gestattet.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/159ad892-5385-4e47-890f-2b28f30fa045%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to