Hitesh
Hitesh

Reputation: 45

How to get email notification from jenskin when a build is failed?

I have made a project and i am trying to build it by jenskin. I am invoking ant script. when any build fails, i want it to send mail to every person who is resposible for failure.

in the project configuration, i am adding email notification in post build option. in console, it shows email sent to "email-id" but i dont receive any email.

How to resolve this issue?

Upvotes: 0

Views: 265

Answers (2)

Hitesh
Hitesh

Reputation: 45

yes.. I found the answer.. you just need to set the "System Admin e-mail address" in manage_jenkins->configure system->jenkins location

Upvotes: 0

Technext
Technext

Reputation: 8107

You need to configure Global setting if you haven't done it already. Go to Jenkins > Configure > E-mail Notification. Follow the steps mentioned here and configure the same as per your set up.

You should also check Email-ext plugin which offers many more options to configure.

Upvotes: 1

Related Questions