How to send mail in Jenkins at the beginning of a job?

We used our own custom action to send mail that once the automation has been started from Final builder. Now am using Jenkins. As long as i have searched, i found that we can send mail about Jenkins job success or failure at the end of Job. Is there any possible to send mail at the beginning of Jenkins job started? If so, what plugin do i need to use for it? Please help me on this.

Upvotes: 1

Views: 2363

Answers (1)

Kaleb
Kaleb

Reputation: 626

You can use Email Extension plugin.

To configure see the article How to send Email at every build with Jenkins. After configuring the settings follow these steps:

  1. Select Add post-build action
  2. Choose Editable Email Notification
  3. In Project Recipient List you can use either default list or recipient's e-mail address
  4. Select Avanced Settings...
  5. Select Add Trigger and choose Before Build

That's it.

Upvotes: 3

Related Questions