Re: (no subject)

Bob Archer <[email protected]>
Newsgroups gmane.comp.windows.dotnet.nant.user
Message-ID <[email protected]>
Can you send your full ccnet config or at least what is in the publishers section. Of course, this really is a ccnet issue, not a nant issue. You could ask for help on the CCNet google group.


> No ccnet does not send a "build failed" email when nant calls
> <fail>; hence I posted the question. I'm not sure I set this part
> up correctly.
> 
> -----Original Message-----
> From: Adam Bruss [mailto:[email protected]]
> Sent: Tuesday, May 10, 2011 10:35 PM
> To: Chris Fouts; [email protected]
> Subject: RE: [NAnt-users] (no subject)
> 
> So is ccnet sending a "build failed" email when nant calls <fail>?
> It should and it always has for me.
> 
> -----Original Message-----
> From: Chris Fouts [mailto:[email protected]]
> Sent: Tuesday, May 10, 2011 9:04 PM
> To: [email protected]
> Subject: Re: [NAnt-users] (no subject)
> 
> Yeah I have this; I used to have a pure ccnet script that worked.
> However, I switched to NAnt and put all my software  build tasks in
> the NAnt script. So my ccnet project looks like this
> 
> <project>
>    <sourcecontrol ... />
>    <tasks>
>       <!-- NAnt script does the VS2010 software build -->
>       <nant> .... </nant>
>    </tasks>
>    <publishers>...</publishers>
> </project>
> 
> The problem I'm having is I have a <tasks> block that calls a
> <nant> script, and if the build fails in the NAnt script, it just
> calls the <fail> block of the NAnt script, and stops.
> 
> ________________________________________
> From: Adam Bruss [[email protected]]
> Sent: Tuesday, May 10, 2011 8:02 PM
> To: Chris Fouts; [email protected]
> Subject: RE: [NAnt-users] (no subject)
> 
> Here's a ccnet example of a publisher block that sends mail.
> 
> <publishers>
>       <email from="[email protected]" mailhost="smtp.foobar.com"
> includeDetails="TRUE">
>         <users>
>             <user name="frank" group="buildmaster"
> address="[email protected]"/>
>             <user name="bob" group="buildmaster"
> address="[email protected]"/>
>             <user name="jon" group="buildmaster"
> address="[email protected]"/>
> 
>              <user name="paul" group="developers"
> address="[email protected]"/>
>         </users>
>         <groups>
>             <group name="buildmaster">
>                   <notifications>
>                         <notificationType>Always</notificationType>
>                   </notifications>
>             </group>
>             <group name="developers">
>                   <notifications>
>                         <notificationType>Always</notificationType>
>                   </notifications>
>             </group>
>         </groups>
>       </email>
> </publishers>
> 
> For us the publishers block is the last thing in the project block.
> 
> From: Chris Fouts [mailto:[email protected]]
> Sent: Tuesday, May 10, 2011 4:07 PM
> To: [email protected]
> Subject: [NAnt-users] (no subject)
> 
> I've started using ccnet with NAnt, where my ccnet script calls a
> NAnt script to do the actual build. However, I want ccnet to send
> an e-mail, not nant, when a script fails. I have a <publisher>
> ccnet block that I want executed that sends the e-mail.
> 
> -chris
> 
> 
> 
> ***This e-mail message is intended only for the above named
> recipient(s) and may contain information that is sensitive or
> proprietary. If you have received this message in error or are not
> the named recipient(s), please immediately notify the sender,
> delete this e-mail message without making a copy and do not
> disclose or relay this e-mail message to anyone.***
> 
> -------------------------------------------------------------------
> -----------
> Achieve unprecedented app performance and reliability What every
> C/C++ and Fortran developer should know.
> Learn how Intel has extended the reach of its next-generation tools
> to help boost performance applications - inlcuding clusters.
> http://p.sf.net/sfu/intel-dev2devmay
> _______________________________________________
> NAnt-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/nant-users
> 
> -------------------------------------------------------------------
> -----------
> Achieve unprecedented app performance and reliability
> What every C/C++ and Fortran developer should know.
> Learn how Intel has extended the reach of its next-generation tools
> to help boost performance applications - inlcuding clusters.
> http://p.sf.net/sfu/intel-dev2devmay
> _______________________________________________
> NAnt-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/nant-users

------------------------------------------------------------------------------
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.