We installed email-ext 2.24.1 into Jenkins 1.447. We set "Extended Email Notification" "Default Content" to
$PROJECT_NAME - Build # $BUILD_NUMBER - $BUILD_STATUS:
Check console output at $BUILD_URL to view the results.
Failed tests (regressions compared to previous builds): ${FAILED_TESTS, onlyRegressions=true}
Changes: ${CHANGES, showPaths=true, format="%a: %r %p \n--\"%m\", pathFormat="\n\t- %p"}
We went to a project, and selected "Editable Email Notification" and left the default settings, where "Default Subject" says $DEFAULT_SUBJECT and "Default Content" says $DEFAULT_CONTENT.
In emails that come out, it's as if email-ext doesn't exist. I just see build information, nothing about the tests that failed or the changes since last success.
Why do the emails not show Failed tests and Changes? And how do I debug this? Are there logs somewhere showing what is getting run?
Edit: I added "HALLOO" to the project "Default Content". Didn't show up.
Screenshot of the email portion of the global configuration:
Screenshot of the email portion of the job configuration page:
Go to the Jenkins system-wide configuration page (Manage Jenkins, Configure System). The configuration for this plugin can be found in the section entitled Extended E-mail Notification. This configuration should match the settings for your SMTP mail server.
It provides customization of 3 areas. Triggers - Select the conditions that should cause an email notification to be sent. Content - Specify the content of each triggered email's subject and body. Recipients - Specify who should receive an email when it is triggered.
In the Post build actions
section, delete the E-mail notification
altogether. This will ensure your instance is using only Editable email notification
This is possible in my version (1.477), not sure when this function of adding/deleting post-build actions released.
You need to un-check the box for default email notifications and then add your recipients list to the extended email configuration. Using the $DEFAULT_RECIPIENTS will only work if you have configured defaults.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With