Hi,
 
I need to be able to notify via email, the status of the build. Did it fail or 
succeed. I know how to email a file, but dont know how to trap the build 
information into a file. Please help.
 
Here is the maven.xml for emailing file...
 

<project default="send-report"

xmlns:j="jelly:core"

xmlns:u="jelly:util"

xmlns:ant="jelly:ant"

xmlns:maven="jelly:maven">





<goal name="send-report">

<echo>SENDING REPORTS VIA EMAIL</echo>

<mail subject="nightly-build on Mercury finished"

mailhost="mail.wiziotec.com" mailport="25"

encoding="plain">

<from address="[EMAIL PROTECTED]" name="Build Info group"/>

<to address="[EMAIL PROTECTED]" name="Savitha Rajiv" /> 

<!-- Right now I have created a dummy log file to send via email -->

<message src="maven-nightly-build.log" />

<fileset dir="c:\wiziotec\workspace\root">

<include name="maven-nightly-build.log" />

</fileset> 

</mail>

</goal>

 

Thanks!



                
---------------------------------
Do You Yahoo!?
 Yahoo! Small Business - Try our new Resources site!

Reply via email to