[prev in list] [next in list] [prev in thread] [next in thread] 

List:       dart
Subject:    [Dart] email notification
From:       "Sylvain Jaume" <sylvainjaume () gmail ! com>
Date:       2008-01-18 19:14:44
Message-ID: eea86b110801181114l53b393d3r45d7d53e0408748 () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


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@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@bar.com)

# Continuous email delivery variables
SET(CONTINUOUS_FROM "foo@bar.com")
SET(SMTP_MAILHOST "scr.siemens.com")
SET(CONTINUOUS_MONITOR_LIST "foo@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@bar.com")
SET(DARTBOARD_BASE_URL "${PROJECT_URL}/Testing")

SET(DELIVER_BROKEN_BUILD_EMAIL_WITH_CONFIGURE_FAILURES 1

[Attachment #5 (text/html)]

Hello,<br><br>How can I get email notification in case of build errors?<br>In my \
Project.xml I typed:<br><br>&nbsp; &lt;MessengerManager&gt;<br>&nbsp;&nbsp;&nbsp; \
&lt;Messenger&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
&lt;Name&gt;SMTP&lt;/Name&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
&lt;Type&gt;dart.server.messenger.SMTPMessenger \
&lt;/Type&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;!-- The properties specified on \
the SMTPMessenger are passed directly \
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; to JavaMail to \
configure the mail host, port, protocols, \
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; authentication, \
encryption, etc. --&gt; <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
&lt;Properties&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;Property \
name=&quot;mail.host&quot;&gt;<a \
href="http://scr.siemens.com">scr.siemens.com</a>&lt;/Property&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
&lt;Property name=&quot;mail.port&quot;&gt;25&lt;/Property&gt; \
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;Property \
name=&quot;mail.from&quot;&gt;<a \
href="mailto:dart@PCCS945C.us008.siemens.net">dart@PCCS945C.us008.siemens.net</a>&lt;/Property&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
&lt;Property name=&quot;mail.transport.protocol&quot;&gt;smtp&lt;/Property&gt; \
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/Properties&gt;<br>&nbsp;&nbsp;&nbsp; \
&lt;/Messenger&gt;<br>&nbsp; &lt;/MessengerManager&gt;<br><br>and in my \
CTestConfig.cmake, I added the following field (I replaced my email address with <a \
href="mailto:foo@bar.com">foo@bar.com </a>)<br>&nbsp;<br># Continuous email delivery \
variables<br>SET(CONTINUOUS_FROM &quot;<a \
href="mailto:foo@bar.com">foo@bar.com</a>&quot;)<br>SET(SMTP_MAILHOST &quot;<a \
href="http://scr.siemens.com">scr.siemens.com</a>&quot;)<br> \
SET(CONTINUOUS_MONITOR_LIST &quot;<a \
href="mailto:foo@bar.com">foo@bar.com</a>&quot;)<br>SET(CONTINUOUS_BASE_URL \
&quot;${PROJECT_URL}/Testing&quot;)<br><br>SET(DELIVER_BROKEN_BUILD_EMAIL_WITH_TEST_FAILURES \
ON)<br>SET(DELIVER_BROKEN_BUILD_EMAIL &quot;Continuous Nightly&quot;) \
<br>SET(EMAIL_FROM &quot;<a \
href="mailto:foo@bar.com">foo@bar.com</a>&quot;)<br>SET(DARTBOARD_BASE_URL \
&quot;${PROJECT_URL}/Testing&quot;)<br><br>SET(DELIVER_BROKEN_BUILD_EMAIL_WITH_CONFIGURE_FAILURES \
1<br><br><br>



_______________________________________________
Dart mailing list
Dart@public.kitware.com
http://public.kitware.com/mailman/listinfo/dart


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic