[jboss-cvs] JBossAS SVN: r100286 - projects/jboss-osgi/trunk/hudson.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Tue Feb 2 14:24:48 EST 2010


Author: thomas.diesler at jboss.com
Date: 2010-02-02 14:24:48 -0500 (Tue, 02 Feb 2010)
New Revision: 100286

Modified:
   projects/jboss-osgi/trunk/hudson/build.xml
Log:
Fix hudson-setup

Modified: projects/jboss-osgi/trunk/hudson/build.xml
===================================================================
--- projects/jboss-osgi/trunk/hudson/build.xml	2010-02-02 19:17:54 UTC (rev 100285)
+++ projects/jboss-osgi/trunk/hudson/build.xml	2010-02-02 19:24:48 UTC (rev 100286)
@@ -40,6 +40,7 @@
   <!-- ================================================================== -->
   
   <target name="init">
+    
     <!-- Check if ant.properties is available -->
     <available property="ant.properties.available" file="${basedir}/ant.properties"/>
     <fail message="Cannot find ant.properties. Did you copy/edit ant.properties.example?" unless="ant.properties.available"/>
@@ -61,6 +62,7 @@
     <property name="hudson.jboss" value="${hudson.root}/jboss"/>
     
     <echo/>
+    <echo message="hudson.user = ${hudson.username}"/>
     <echo message="hudson.root = ${hudson.root}"/>
     <echo message="hudson.home = ${hudson.home}"/>
     <echo/>
@@ -163,12 +165,13 @@
     </copy>
     
     <!-- Configure Hudson Home -->
-    <copy todir="${hudson.home}" overwrite="false">
+    <copy todir="${hudson.home}" overwrite="true">
       <fileset dir="${hudson.dir}/hudson-home">
         <include name="*.xml"/>
       </fileset>
       <filterset>
         <filter token="version.id" value="${version.id}"/>
+        <filter token="hudson.username" value="${hudson.username}"/>
         <filtersfile file="${hudson.dir}/ant.properties"/>
       </filterset>
     </copy>




More information about the jboss-cvs-commits mailing list