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
|
Title: Message
- [Draconet-users] Draco config : using hook notification ? Gerarde_Albro
- RE: [Draconet-users] Draco config : using hook notifi... Nick Robinson
- RE: [Draconet-users] Draco config : using hook no... Vincent Labatut
- RE: [Draconet-users] Draco config : using hook notifi... Gerarde_Albro
- Re: [Draconet-users] Draco config : using hook no... Nick Robinson