Hi devs,
I'm working on configuring jenkins email configuration for all jobs (I'm scripting
it).
We need to agree on the mail sending strategy.
Here's what I propose:
* We send mail to the list when there's a build failure
* We send mail to the list when the build is fixed
* We send a special mail with a different subject to committers/culprits when there's
a build failure (this is the "You broke the build! Fix it now!" email that is
currently sent by platform)
* We send a special mail with yet a different subject to committers/culprits when
there's a second build failure (this is the "Hurry up! The build is still failing
because of you! Stop whatever you're doing and fix it!" email that is currently
sent by platform)
In addition I propose the following content:
"
Check console output at $BUILD_URL to view the results.
Failed tests:
${FAILED_TESTS}
Last build logs:
${BUILD_LOG, ".*Finished at:.*", 100, 100, 0, true, null, false, null, true}
"
(this last line means to include the 100 lines around the "Finished at" message
in the log).
Thanks
-Vincent