Hello,
we have several projects using both the htmlemail and the
x10 publishers.
The htmlemail publisher is preconfigured at the top of the
config.xml
file in order to always send an email to an admin (me
actually),
something like :
<plugin name="htmlemail" ...>
<always address="me"/>
</plugin>
The project plugin is preconfigured to use an htmlemail
publisher :
<plugin name="project">
...
<publishers>
<htmlemail/>
</publishers>
...
</plugin>
Then some projects have 'local' admins who have opted to
receive all
notification emails for a given project, therefore :
<project name="project_A">
<publishers>
<htmlemail>
<always
address="some-user"/>
</htmlemail>
</publishers>
</project>
<project name="project_B"/>
So far so good : when project_A fails an email is sent to
"me",
"some-user" and the comitter.
Now we are adding an x10 publisher, but we haven't been
succesfull at
avoiding duplication.
More specifically we tried the following :
. preconfigure <publishers> to have both an
<xtmlemail/> and an <x10/>
publisher, but notification emails are then sent twice to
every
recipient when building project_A
. add an <x10/> publisher inside the project
preconfiguration, however
we have to repeat <10/> everytime we redefine the
publishers (like in
project_A)
For now we have settled for the later, therefore :
<plugin name="x10" .../>
<plugin name="project">
...
<publishers>
<htmlemail/>
<x10/>
</publishers>
...
</plugin>
<project name="project_A">
<publishers>
<htmlemail>
<always
address="some-user"/>
</htmlemail>
<x10/>
</publishers>
</project>
Is there a way to avoid the extra <x10/> inside the
publishers of
project_A ?
Regards,
MAT.
------------------------------------------------------------
-------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the
chance to share your
opinions on IT & business topics through brief
surveys-and earn cash
http://www.techsay.com/default.
php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Cruisecontrol-user mailing list
Cruisecontrol-user lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/crui
secontrol-user
|