[jboss-cvs] JBossAS SVN: r85862 - in projects/jboss-osgi/branches/tdiesler/build/hudson: jboss/bin and 1 other directory.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Sun Mar 15 15:06:37 EDT 2009


Author: thomas.diesler at jboss.com
Date: 2009-03-15 15:06:36 -0400 (Sun, 15 Mar 2009)
New Revision: 85862

Modified:
   projects/jboss-osgi/branches/tdiesler/build/hudson/hudson-home/command.sh
   projects/jboss-osgi/branches/tdiesler/build/hudson/jboss/bin/http-spider.sh
Log:


Modified: projects/jboss-osgi/branches/tdiesler/build/hudson/hudson-home/command.sh
===================================================================
--- projects/jboss-osgi/branches/tdiesler/build/hudson/hudson-home/command.sh	2009-03-15 18:43:25 UTC (rev 85861)
+++ projects/jboss-osgi/branches/tdiesler/build/hudson/hudson-home/command.sh	2009-03-15 19:06:36 UTC (rev 85862)
@@ -65,7 +65,7 @@
 $HUDSONDIR/jboss/bin/jboss.sh $JBOSS_HOME start $JBOSS_BINDADDR
 
 # Was it successfully started?
-$HUDSONDIR/jboss/bin/http-spider.sh $JBOSS_BINDADDR:8090 $WORKSPACE
+$HUDSONDIR/jboss/bin/http-spider.sh $JBOSS_BINDADDR:8090/jboss-osgi $WORKSPACE
 if [ -e $WORKSPACE/spider.failed ]; then
   tail -n 100 $JBOSS_HOME/server/$JBOSS_SERVER/log/server.log
   $HUDSONDIR/jboss/bin/jboss.sh $JBOSS_HOME stop $JBOSS_BINDADDR

Modified: projects/jboss-osgi/branches/tdiesler/build/hudson/jboss/bin/http-spider.sh
===================================================================
--- projects/jboss-osgi/branches/tdiesler/build/hudson/jboss/bin/http-spider.sh	2009-03-15 18:43:25 UTC (rev 85861)
+++ projects/jboss-osgi/branches/tdiesler/build/hudson/jboss/bin/http-spider.sh	2009-03-15 19:06:36 UTC (rev 85862)
@@ -30,7 +30,7 @@
 if [ $? -eq 0 ]; then
 	COUNTER=0
 	while [  $COUNTER -lt $NUM_RETRIES ]; do
-		if wget --spider --timeout=$TIMEOUT --tries=1 $1 &> /dev/null; then
+		if wget --spider --timeout=$TIMEOUT --tries=1 --http-user=admin --http-password=admin $1 &> /dev/null; then
 			touch $2/spider.success
 			echo "Try $COUNTER: '$1' is available"	> ./spider.success
 			exit 0




More information about the jboss-cvs-commits mailing list