Title: Message
That is very helpful, thanks you.
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Vincent Labatut
Sent: Monday, November 24, 2003 4:53 AM
To: [EMAIL PROTECTED]
Subject: RE: [Draconet-users] Draco config : using hook notification ?

i find that hooks are most useful,
here is what i'm using at work :
 
         <notification>
            <file>
              <dir>F:\Draco.NET\Output</dir>
            </file>
           
            <hook>
              <developer notifysuccess="true" notifyfailure="true">
                  <recipient>[EMAIL PROTECTED]</recipient>
                  <user>Draco Admin</user>
              </developer>
 
              <developer notifyfailure="true">
                  <recipient>[EMAIL PROTECTED]</recipient>
                  <user>Manager</user>
              </developer>
 
              <developer>
                  <recipient>[EMAIL PROTECTED]</recipient>
                  <user>Dev 1</user>
              </developer>
 
              <developer>
                  <recipient>[EMAIL PROTECTED]</recipient>
                  <user>Dev 2</user>
              </developer>
 
              <developer notifyhooksuccess="false">
                  <recipient>[EMAIL PROTECTED]</recipient>
                  <user>Dev 3</user>
              </developer>
 
              <developer>
                  <recipient>[EMAIL PROTECTED]</recipient>
                  <user>Dev 4</user>
              </developer>
 
            </hook>
           
          </notification>
 
Notes :
Draco recognizes which users have made modifications since the last successful build, then computes who should receive an email
according to the config hook rules.
the user names should match the ones in your source repository (like VSS) for rules to apply correctly.
 
notifysuccess (default is false) : the user will receive an email for every sucessful build (whether he/she participated in a development or not)
notifyfailure (default is false) : same for failures
notifyhooksuccess (default is true) : the user will receive an email for each successful build in which he is involved (after a modification from his/her part)
notifyhookfailure (default is true) : same for failures. should always be true in my opinion.
 
no duplicate mails are sent if multiple rules apply.
 
in my example, i'm the Draco Admin and I want to receive a mail for every single build, whether successful or not.
the Projet Manager (my boss), only wants to be aware of failures + builds that are triggered by his own work.
 
Developpers receive mails for each build that are partly triggered by their modifications.
Developper 3 didn't want to be bothered with successful builds, this was quickly done in the config and kept his morale at the highest ;)
 
i found all that looking at the code and the xsd,
hope this helps,
vincent
-----Original M  essage-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]On Behalf Of Nick Robinson
Sent: samedi 22 novembre 2003 11:24
To: [EMAIL PROTECTED]
Subject: RE: [Draconet-users] Draco config : using hook notification ?

I havent used that.
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]On Behalf Of [EMAIL PROTECTED]
Sent: 20 November 2003 22:41
To: [EMAIL PROTECTED]
Subject: [Draconet-users] Draco config : using hook notification ?

Is there anyone out there using the hook notification method that would like to share part of their draco.exe.config? I am no XML expert, so it is a bit difficult to guess at a good template to start with for this kind of notification.
 
Thanks.
 
 
- Jerry
 

Reply via email to