Have any other projects customised the format of the email body that
jenkins sends?

Using the emailext plugin, the email content can be defined by a jelly
script, and there's a few from that plugin to pick from.

See for example
https://github.com/apache/cassandra/blob/trunk/.jenkins/Jenkinsfile#L354

I'd like to fix and improve a few things in the default text.jelly
template. The builds emails for the Cassandra pipeline are pretty
messy, an example
https://lists.apache.org/thread.html/r137dce26f7623146c0c19cc6d5bcc1c801e3e4ba8a5098ffcd3eec4a%40%3Cbuilds.cassandra.apache.org%3E

According to the instructions at https://plugins.jenkins.io/email-ext/
I need to provide the customised template (jelly or groovy) to the
jenkins administrator to be placed under
`$JENKINS_HOME/email-templates/`

Is this approach a possibility? Is there any other solution that's been used?

regards,
Mick

Reply via email to