User: kimptoc 
  Date: 01/09/02 12:29:38

  Modified:    jboss    build.xml
  Log:
  changes to make the testsuite email report more generic
  
  Revision  Changes    Path
  1.14      +20 -9     build/jboss/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /cvsroot/jboss/build/jboss/build.xml,v
  retrieving revision 1.13
  retrieving revision 1.14
  diff -u -r1.13 -r1.14
  --- build.xml 2001/08/31 10:01:18     1.13
  +++ build.xml 2001/09/02 19:29:38     1.14
  @@ -10,7 +10,7 @@
   <!--                                                                        -->
   <!-- ====================================================================== -->
   
  -<!-- $Id: build.xml,v 1.13 2001/08/31 10:01:18 kimptoc Exp $ -->
  +<!-- $Id: build.xml,v 1.14 2001/09/02 19:29:38 kimptoc Exp $ -->
   
   <project default="main">
   
  @@ -225,6 +225,10 @@
     <property name="release.admin.client.lib" value="${release.admin.client}/lib"/>
     <property name="release.admin.components" value="${release.admin}/components"/>
   
  +  <!-- Configuration for the nightly build and test job -->
  +  <property name="run.nightly.email.tolist" 
value="[EMAIL PROTECTED]"/>
  +  <property name="run.nightly.email.from" value="[EMAIL PROTECTED]"/>
  +  <property name="run.nightly.email.mailhost" value="localhost"/>
   
     <!-- ================================================================== -->
     <!-- Builds a release distribution.                                     -->
  @@ -587,16 +591,23 @@
         </sequential>
       </parallel>
   
  +    <call target="run-nightly-email"/>
  +    
  +  </target>
  +
  +  <target name="run-nightly-email" depends="init">
       <echo>Sending Reports</echo>
       <!-- email output to list -->
  -    <mimemail tolist="[EMAIL PROTECTED]"
  -           subject="Automated JBoss Testsuite"
  -           message="Automated JBoss Testsuite"
  -           from="[EMAIL PROTECTED]">
  -      <fileset dir="${project.root}/testsuite/output/reports">
  -        <include name="text/**"/>
  -      </fileset>
  -    </mimemail>
  +    <mail tolist="${run.nightly.email.tolist}"
  +           subject="Automated JBoss Testsuite Results"
  +           message="Automated JBoss Testsuite Results"
  +           from="${run.nightly.email.from}"
  +          mailhost="${run.nightly.email.mailhost}"
  +          files="${project.root}/testsuite/output/reports/text/TESTS-TestSuites.txt"
  +    />
  +  
  +  
  +  
     </target>
   
   </project>
  
  
  

_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to