Hi

so now you have to map the source control user id's to email address,
with one of the methods I mentioned above

so your email publisher will look like :

<!-- Email notification to users -->
     <email from="[email protected]" mailhost="rom" mailport="25"
includeDetails="TRUE"
            mailhostUsername="username" mailhostPassword="password"
useSSL="FALSE">
       <users>
         <user name="BuildGuru" group="buildmaster" address="[email protected]"/>
         <user name="John" address="[email protected] <[email protected]>"/>
         <user name="Smith" address="[email protected] <[email protected]>"/>
... other users here
       </users>
       <groups>
         <group name="developers" notification="change"/>
         <group name="buildmaster" notification="always"/>
       </groups>
        <modifierNotificationTypes>
         <NotificationType>Failed</NotificationType>
         <NotificationType>Fixed</NotificationType>
       </modifierNotificationTypes>
      </email>

or with a converter, assuming source control ids match windows logins


<!-- Email notification to users -->
     <email from="[email protected]" mailhost="rom" mailport="25"
includeDetails="TRUE"
            mailhostUsername="username" mailhostPassword="password"
useSSL="FALSE">
       <users>
         <user name="BuildGuru" group="buildmaster" address="[email protected]"/>
       </users>
       <groups>
         <group name="buildmaster" notification="always"/>
       </groups>

        <converters>
            <ldapConverter domainName="yourDomainName"  />
        </converters>

        <modifierNotificationTypes>
         <NotificationType>Failed</NotificationType>
         <NotificationType>Fixed</NotificationType>
       </modifierNotificationTypes>
      </email>



with kind regards
Ruben Willems


On Wed, Feb 4, 2009 at 11:02 AM, sam <[email protected]> wrote:

>
> Thankyou Ruben for answering. All you said was right but my query is
> still there. It is only sending an email on build success but I have
> defined in modifierNotificationTypes block to send email on failed or
> on fix builds. What do you say.
>
> Regards
> Sam

Reply via email to