willpracht
9/19/2013 - 4:51 PM

Jenkins Email-ext (Editable Email Notifications)

Jenkins Email-ext (Editable Email Notifications)

============================ 
ENVIRONMENT VARIABLES
============================ 
${ENV}
See ${BUILD_URL}
 
============================ 
CHANGES (All changes since first failure) 
============================ 
${CHANGES_SINCE_LAST_SUCCESS, reverse=true} 
 
============================ 
TESTS 
============================ 
There are ${TEST_COUNTS, var="total"} total tests of which ${TEST_COUNTS, var="fail"} test(s) failed. 
$FAILED_TESTS 
 
============================ 
BUILD LOG (last 100 lines)
============================ 
${BUILD_LOG, maxLines=100}
See ${BUILD_URL}

============================ 
CHANGES (Changes that may have contributed to fixing the build) 
============================
${CHANGES_SINCE_LAST_UNSTABLE, reverse=true}
Subject: Jenkins ${BUILD_STATUS} [#${BUILD_NUMBER}] - ${PROJECT_NAME}

Content Type: Plain Text (text/plain)
Trigger for matrix projects: Trigger for each configuration

Choose "Advanced", "Add a Trigger" and choose the following triggers: 
Fixed, Failure, Unstable, Still Failing, Still Unstable
Ensure that "Send To Recipient List" is checked for all of these at the very least.
Fixed is the only trigger you will need to expand to change the Content.

See ProjectDefaultContent (below)