You want to use the ext-email plugin. This jelly script will create a nice email that includes things like the changeset, artifacts, portions of the console if the build failed. I think it is the default one that comes with ext-email plugin.
From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Martin Min Sent: Thursday, August 04, 2016 2:45 PM To: jenkinsci-users@googlegroups.com Subject: How to modify email content body to include SCM code check-in description? Hello, I am using Perforce plugin and I want the default $DEFAULT_CONTENT to automatically include the "description" message whenever a code check in is made. Is there a way to do that? I am using the Perforce Plugin. Thank you. -- 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 jenkinsci-users+unsubscr...@googlegroups.com<mailto:jenkinsci-users+unsubscr...@googlegroups.com>. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAKUZDO7G-a52fhnSgwVbD1vcdm8b2ii_nQppzvoys5pzbGZnAA%40mail.gmail.com<https://urldefense.proofpoint.com/v2/url?u=https-3A__groups.google.com_d_msgid_jenkinsci-2Dusers_CAKUZDO7G-2Da52fhnSgwVbD1vcdm8b2ii-5FnQppzvoys5pzbGZnAA-2540mail.gmail.com-3Futm-5Fmedium-3Demail-26utm-5Fsource-3Dfooter&d=CwMFaQ&c=3mGIBQKb1eS1YDHb7ax3kFkT2UAGBJ12p2lcECIjhXk&r=SXz9subj7EUWDFIuiAjJSXBLM9pAzGIduhHWvfq5re0&m=B7mE1s-Gcob_R6Y_IupU_2y2SNAKmiwn3pEVJW6S9JE&s=F5a8JtzI4PRYsuuILp0FwvFai9VdFxogcvyPxo_hbec&e=>. For more options, visit https://groups.google.com/d/optout<https://urldefense.proofpoint.com/v2/url?u=https-3A__groups.google.com_d_optout&d=CwMFaQ&c=3mGIBQKb1eS1YDHb7ax3kFkT2UAGBJ12p2lcECIjhXk&r=SXz9subj7EUWDFIuiAjJSXBLM9pAzGIduhHWvfq5re0&m=B7mE1s-Gcob_R6Y_IupU_2y2SNAKmiwn3pEVJW6S9JE&s=L5ZZs5EVNjecV7gPx-mhkm6fJBmyzatn6fssozc-Bwo&e=>. -- 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 jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/6C6EE445A6F6CE4E8A0FFB51B071A4E2D87380D8%40AMERMBX02.PERKINELMER.NET. For more options, visit https://groups.google.com/d/optout.
html - Copy.jelly
Description: html - Copy.jelly