Jenkins Plugin for custom email notification

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Jenkins Plugin for custom email notification

tamilarasan kulasekaran

Hi,

We are using Jenkins for CI to build the app. I have a requirement in Jenkins i.e., whenever my build fails, I want to capture the error message logline and add it to the email body to send to the developers' (users who commit the latest code)email id. We use the poll SCM plugin to trigger the build. Whenever the developer commits the code it automatically starts the build.


Kindly suggest any relevant Jenkins plugins that are available for this requirement.


Regards,
Tamilarasan K

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAGzUQ1X0SyA0kPayZTdO5%2B%3DFT8TZ7RatqsssOC6qpRbASgeeXQ%40mail.gmail.com.
Reply | Threaded
Open this post in threaded view
|

Re: Jenkins Plugin for custom email notification

dhavallj
If anyone helps with the raised query. Any customize solution if someone suggests.

On Fri, Jul 17, 2020 at 12:37 PM tamilarasan kulasekaran <[hidden email]> wrote:

Hi,

We are using Jenkins for CI to build the app. I have a requirement in Jenkins i.e., whenever my build fails, I want to capture the error message logline and add it to the email body to send to the developers' (users who commit the latest code)email id. We use the poll SCM plugin to trigger the build. Whenever the developer commits the code it automatically starts the build.


Kindly suggest any relevant Jenkins plugins that are available for this requirement.


Regards,
Tamilarasan K


--
Thanks & Regards
Dhaval Jaiswal

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAH5ShBgoEvxvMiv5d8LyqRVVTmRWzbaYH4qdti7Jn0Vse-Pp5g%40mail.gmail.com.
Reply | Threaded
Open this post in threaded view
|

Re: Jenkins Plugin for custom email notification

slide
There are two email plugins available for Jenkins, Mailer (https://plugins.jenkins.io/mailer/) and the Extended Email Plugin (https://plugins.jenkins.io/email-ext/). You can look at those two and see if one meets your needs.

Regards,

Alex

On Sat, Jul 18, 2020 at 12:22 AM DHAVAL JAISWAL <[hidden email]> wrote:
If anyone helps with the raised query. Any customize solution if someone suggests.

On Fri, Jul 17, 2020 at 12:37 PM tamilarasan kulasekaran <[hidden email]> wrote:

Hi,

We are using Jenkins for CI to build the app. I have a requirement in Jenkins i.e., whenever my build fails, I want to capture the error message logline and add it to the email body to send to the developers' (users who commit the latest code)email id. We use the poll SCM plugin to trigger the build. Whenever the developer commits the code it automatically starts the build.


Kindly suggest any relevant Jenkins plugins that are available for this requirement.


Regards,
Tamilarasan K


--
Thanks & Regards
Dhaval Jaiswal

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAH5ShBgoEvxvMiv5d8LyqRVVTmRWzbaYH4qdti7Jn0Vse-Pp5g%40mail.gmail.com.


--

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAPiUgVfPrObrb-LrBCxpkSogVwr6yW-kBTT5rgCz-42FbH_5vQ%40mail.gmail.com.
Reply | Threaded
Open this post in threaded view
|

Re: Jenkins Plugin for custom email notification

Fabi
At 15:42 18.07.2020, Slide wrote:

>There are two email plugins available for Jenkins, Mailer (<https://plugins.jenkins.io/mailer/>https://plugins.jenkins.io/mailer/) and the Extended Email Plugin (<https://plugins.jenkins.io/email-ext/>https://plugins.jenkins.io/email-ext/). You can look at those two and see if one meets your needs.

If you can capture your output into a file then the Extended Mail
can read the file and add it to the mail body like this:

$DEFAULT_CONTENT
${FILE, path="yourfile.log"}

I don't know about catching the output without a file but check the
Extended Mail docs.

bye  Fabi

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/20200720063357.B23D4412F4D9%40macserver.private.
Reply | Threaded
Open this post in threaded view
|

Re: Jenkins Plugin for custom email notification

christop...@googlemail.com
Hi,

With emailext I know about two options: you can make use of a template and add what you want from the template directly to the mail body.
Aditionally there's that 'attachLog'-option that attaches the complete log to the mail.

Regards,
Christoph
fcenedese schrieb am Montag, 20. Juli 2020 um 08:34:15 UTC+2:
At 15:42 18.07.2020, Slide wrote:

>There are two email plugins available for Jenkins, Mailer (<https://plugins.jenkins.io/mailer/>https://plugins.jenkins.io/mailer/) and the Extended Email Plugin (<https://plugins.jenkins.io/email-ext/>https://plugins.jenkins.io/email-ext/). You can look at those two and see if one meets your needs.

If you can capture your output into a file then the Extended Mail
can read the file and add it to the mail body like this:

$DEFAULT_CONTENT
${FILE, path="yourfile.log"}

I don't know about catching the output without a file but check the
Extended Mail docs.

bye Fabi

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/6a0ed28b-b4f4-4f66-ba0b-25407f0cb811n%40googlegroups.com.