[jboss-osgi-commits] JBoss-OSGI SVN: r87457 - projects/jboss-osgi/trunk/build/hudson/hudson-home/jobs/jbossosgi-embedded.

jboss-osgi-commits at lists.jboss.org jboss-osgi-commits at lists.jboss.org
Thu Apr 16 17:13:31 EDT 2009


Author: thomas.diesler at jboss.com
Date: 2009-04-16 17:13:31 -0400 (Thu, 16 Apr 2009)
New Revision: 87457

Modified:
   projects/jboss-osgi/trunk/build/hudson/hudson-home/jobs/jbossosgi-embedded/config.xml
Log:
Use multiple build steps

Modified: projects/jboss-osgi/trunk/build/hudson/hudson-home/jobs/jbossosgi-embedded/config.xml
===================================================================
--- projects/jboss-osgi/trunk/build/hudson/hudson-home/jobs/jbossosgi-embedded/config.xml	2009-04-16 20:59:54 UTC (rev 87456)
+++ projects/jboss-osgi/trunk/build/hudson/hudson-home/jobs/jbossosgi-embedded/config.xml	2009-04-16 21:13:31 UTC (rev 87457)
@@ -1,7 +1,11 @@
 <?xml version='1.0' encoding='UTF-8'?>
-<maven2-moduleset>
+<project>
   <actions/>
   <description>Build and test embedded JBossOSGi @version.id@</description>
+  <logRotator>
+    <daysToKeep>60</daysToKeep>
+    <numToKeep>-1</numToKeep>
+  </logRotator>
   <keepDependencies>false</keepDependencies>
   <properties/>
   <scm class="hudson.scm.SubversionSCM">
@@ -18,20 +22,34 @@
     </browser>
     <excludedRegions></excludedRegions>
   </scm>
-  <assignedNode>master</assignedNode>
-  <canRoam>false</canRoam>
-  <disabled>false</disabled>
+  <canRoam>true</canRoam>
+  <disabled>true</disabled>
   <jdk>jdk1.6</jdk>
-  <triggers class="vector"/>
-  <rootModule>
-    <groupId>org.jboss.osgi</groupId>
-    <artifactId>jboss-osgi</artifactId>
-  </rootModule>
-  <goals>clean package</goals>
-  <aggregatorStyleBuild>true</aggregatorStyleBuild>
-  <usePrivateRepository>false</usePrivateRepository>
-  <ignoreUpstremChanges>true</ignoreUpstremChanges>
-  <reporters/>
-  <publishers/>
+  <triggers class="vector">
+  </triggers>
+  <builders>
+    <hudson.tasks.Maven>
+      <targets>clean install</targets>
+      <mavenName>apache-maven</mavenName>
+    </hudson.tasks.Maven>
+    <hudson.tasks.Shell>
+      <command>
+OSGIDIR=$WORKSPACE/jboss-osgi
+
+#
+# copy test.log to workspace
+#
+TESTLOG=$OSGIDIR/testsuite/functional/target/test.log
+if [ -e $TESTLOG ]; then
+  cp $TESTLOG $WORKSPACE/functional_testlog_build_$BUILD_NUMBER.txt      
+fi
+      </command>
+    </hudson.tasks.Shell>
+  </builders>
+  <publishers>
+    <hudson.tasks.junit.JUnitResultArchiver>
+      <testResults>jboss-osgi/**/target/surefire-reports/TEST-*.xml</testResults>
+    </hudson.tasks.junit.JUnitResultArchiver>
+  </publishers>
   <buildWrappers/>
-</maven2-moduleset>
\ No newline at end of file
+</project>
\ No newline at end of file




More information about the jboss-osgi-commits mailing list