no, I want to mail to the buildmaster when ANY build fails or is fixed.
Extending your example a bit, if i had
<groups>
<group name="buildmaster" notification="Failed"/>
</groups>
<users>
<user name="john" group="buildmaster" address="[email protected]"
/>
<user name="wayne" group="buildmaster" address="[email protected]"
/>
<user name="marion" group="developer"
address="[email protected]<[email protected]>"
/>
</users>
<modifierNotificationTypes>
<NotificationType>Failed</NotificationType>
<NotificationType>Fixed</NotificationType>
</modifierNotificationTypes>
<converters>
<ldapConverter domainName="yourDomain" />
</converters>
Marion does a checkin which breaks the build and then John and Wayne get
mailed (because they are in the buildmaster group which gets notified on
fails) and marion gets mailed because of the modifierNotificationTypes
Then if Marion does another checkin which fixes the build, Marion will get
mailed because of the modifierNotificationTypes. But john and wayne dont get
a mail saying the build is fixed, and that is the part that i want to happen
- have the same people mailed for all failures and fixes
The only way i have found of making it work is to have 2 groups, one for
failed builds and one for fixed builds, and adding the email address to 2
users
<groups>
<group name="buildmaster_failed" notification="Failed"/>
<group name="buildmaster_fixed" notification="Fixed"/>
</groups>
<users>
<user name="john" group="buildmaster_failed" address="
[email protected]" />
<user name="wayne" group="buildmaster_failed" address="
[email protected]" />
<user name="proxy_john" group="buildmaster_fixed" address="
[email protected]" />
<user name="proxy_wayne" group="buildmaster_fixed" address="
[email protected]" />
<user name="marion" group="developer"
address="[email protected]<[email protected]>"
/>
</users>
Anthony
On Thu, Feb 26, 2009 at 1:37 PM, Ruben Willems <[email protected]>wrote:
> Hi
>
> Sorry, I do not get the question.
>
> when a build fails,
> you want to sent a mail to the buildmaster?
>
> and to the user causing the build to fail?
>
>
> if so, this would be a setup :
>
> <groups>
> <group name="buildmaster" notification="Failed"/>
> </groups>
>
> <users>
> <user name="john" group="buildmaster" address="[email protected]"
> />
> <user name="wayne" group="buildmaster" address="
> [email protected]" />
> </users>
>
>
> <modifierNotificationTypes>
> <NotificationType>Failed</NotificationType>
> <NotificationType>Fixed</NotificationType>
> </modifierNotificationTypes>
>
> <converters>
> <ldapConverter domainName="yourDomain" />
> </converters>
>
>
>
>
> with kind regards
> Ruben Willems
>
>
>
> On Thu, Feb 26, 2009 at 2:27 PM, Anthony Brown <[email protected]> wrote:
>
>> Hi I want to send out a mail to a user using the email publisher on all
>> failed and fixed builds to certain people. So i have tried adding multiple
>> notifications in the group section in the email publisher using this
>>
>> <groups>
>> <group name = "admins" notification="Fixed, Failed"/>
>> </groups>
>>
>> However, this seems to get converted to
>>
>> <groups>
>> <group name = "admins">
>> <name>admins</admins>
>> <notification>6</notification>
>> </group>
>> </groups>
>>
>> when i try to view the configuration for a project through webdashboard or
>> using the new validator program
>>
>> So far, the only method i have found of doing this is to create 2
>> groups, one with notification for fixed and one for failed. For each email
>> address that i want these notifications going to I then have to create 2
>> users in the users section with different names, but the same email address.
>>
>> Is there another method that I am missing to do what i am trying to do.
>>
>> Thanks
>>
>> Anthony
>>
>
>