how to send mail to developers about build status

I would like to send build status mail after maven build. I configured in pom.xml.

<developers>
<developer>
<id>phani</id>
<name>phanikumar</>
<email>phanikumarraja@yahoo.com</email>
<url>http://phani.net</url>
<organization>codeauroara</organization>
<organizationurl>http:/mojocodeaurora.org</organizationurl>
<roles>
<role>Lead</role>
<role>developer</role>
</roles>
</developer>
</developers>

Presently, I am using jenkins for automate build it is sending mail suppose build fails. I want to do jenkins should read in pom.xml file those who are in developers list of pom.xml file. for those members only send mail through jenkins about build status.

Please tell me if any plugin required for this or if I need to configure any mailing lists in pom.xml file.

Answers


Maybe you could first look at the Jenkins's Mail Server Configuration and at Email Notification in the job's configuration.

You could also use a Jenkins plugin : email-ext to perform more advanced tasks.

See also this SO answer : how to add developers list in pom.xml file.whenever the build fails it will send notifications


Need Your Help

Using django 1.8 duration field to annotate a set of django objects

python django django-models django-admin

I am reading the documentation for django duration field and I cannot figure out how I can use this to annotate a set of django objects with the duration. The docs say that the db stores durations as

Retroactively sign git commits

git security version-control commit gnupg

Recent versions of git (>= 1.7.9) support signing individual commits with GPG.