[Dart] email notification
Sylvain Jaume
sylvainjaume at gmail.com
Fri Jan 18 14:14:44 EST 2008
Hello,
How can I get email notification in case of build errors?
In my Project.xml I typed:
<MessengerManager>
<Messenger>
<Name>SMTP</Name>
<Type>dart.server.messenger.SMTPMessenger</Type>
<!-- The properties specified on the SMTPMessenger are passed directly
to JavaMail to configure the mail host, port, protocols,
authentication, encryption, etc. -->
<Properties>
<Property name="mail.host">scr.siemens.com</Property>
<Property name="mail.port">25</Property>
<Property name="mail.from">dart at PCCS945C.us008.siemens.net
</Property>
<Property name="mail.transport.protocol">smtp</Property>
</Properties>
</Messenger>
</MessengerManager>
and in my CTestConfig.cmake, I added the following field (I replaced my
email address with foo at bar.com)
# Continuous email delivery variables
SET(CONTINUOUS_FROM "foo at bar.com")
SET(SMTP_MAILHOST "scr.siemens.com")
SET(CONTINUOUS_MONITOR_LIST "foo at bar.com")
SET(CONTINUOUS_BASE_URL "${PROJECT_URL}/Testing")
SET(DELIVER_BROKEN_BUILD_EMAIL_WITH_TEST_FAILURES ON)
SET(DELIVER_BROKEN_BUILD_EMAIL "Continuous Nightly")
SET(EMAIL_FROM "foo at bar.com")
SET(DARTBOARD_BASE_URL "${PROJECT_URL}/Testing")
SET(DELIVER_BROKEN_BUILD_EMAIL_WITH_CONFIGURE_FAILURES 1
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/dart/attachments/20080118/d8b1b4b2/attachment.html
More information about the Dart
mailing list