Hi I would check the ccnet log for this, I suspect that the email config itself is not correct.
<mailhostUsername>$(domain)\$(user)</mailhostUsername> <mailhostPassword>$(pw)</mailhostPassword> Look at it via the project configuration in the dashboard, that shows the processed config of the project. Maybe there is a spelling mistake or so. does this user has right to mail? (just want to be sure) with kind regards Ruben Willems On Wed, May 11, 2011 at 5:21 PM, Zilla <[email protected]> wrote: > <project> > <sourcecontrol>.....</sourcecontrol> > <tasks> > <nant> > <description>Call NAnt script</description> > <executable>nant.bat</executable> > <baseDirectory>C:\SomeFolder</baseDirectory> > <buildFile>nant.build</buildFile> > <targetList> > <target>all</target> > </targetList> > > <buildTimeoutSeconds>$(timeout90)</buildTimeoutSeconds> > </nant> > </tasks> > > <publishers> > <xmllogger /> > <buildpublisher> > <publishDir>c:\ccnet\SomeFolder</publishDir> > </buildpublisher> > <email from="[email protected]" > mailhost="smtpmail.mycompany.com" > mailport="25" > includeDetails="TRUE"> > > <mailhostUsername>$(domain)\$(user)</mailhostUsername> > <mailhostPassword>$(pw)</mailhostPassword> > <users> > <user name="My Name" group="BuildMeister" > address="[email protected]" /> > </users> > <groups> > <group name="BuildMeister" > notifications="always" /> > <group name="Bradley_A3_PE" > notifications="always" /> > <group name="Bradley_A3_Developers" > notifications="always" /> > </groups> > </email> > </publishers> > </project> > > The <fail> block in my NAnt script currently just echoes a message. > ccnet DOES know the script failed becasue it is indicated in the > dashboard! > > On May 11, 6:06 am, Ruben Willems <[email protected]> wrote: > > Hi > > > > this is weird because that shold work, I have the same setup. > > Can you post your config? > > > > with kind regards > > Ruben Willems > > > > > > > > > > > > > > > > On Tue, May 10, 2011 at 10:51 PM, Zilla <[email protected]> wrote: > > > 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 did not get executed for some reason. Thanks. > > > > > -chris >
