I want to know how pre-send script works in Jenkins Extendable email notification. Right now I am using some variables like
Build summary:
$PROJECT_NAME"
"Build Number - $BUILD_NUMBER"
"Build Result - $BUILD_STATUS"
"Build Time $BUILD_ID"
"SVN Revision Number $SVN_REVISION"
"Changes Made By - $CHANGES"
"$CAUSE"
"Please see build log as an attachment.
Under default content, but I would like to know how to get more details using a groovy script in rich text format like example bellow.