[jbossws-issues] [JBoss JIRA] Commented: (JBWS-2365) Configure JBossWS-3.0.4.GA-testsuite-AS5.0.x job on hudson
Alessio Soldano (JIRA)
jira-events at lists.jboss.org
Mon Oct 20 13:38:20 EDT 2008
[ https://jira.jboss.org/jira/browse/JBWS-2365?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12434506#action_12434506 ]
Alessio Soldano commented on JBWS-2365:
---------------------------------------
For the records, working configuration:
. ~/config_repository/scripts/common/common_bash.sh
kill-jboss
rm -rf jboss-*
unzip $HUDSON_HOME/jobs/JBoss-AS-5.0.x/lastSuccessful/archive/trunk/build/output/jboss-5.0.x.zip > /dev/null
#
# Module settings
#
MODULE=Native-Core-AS-5.0.1
WORKSPACE=`pwd`
FRAMEWORKDIR=$WORKSPACE/framework
STACKDIR=$WORKSPACE/stack-native
JBOSS_TARGET=jboss501
JBOSS_BINDADDR=localhost
JBOSS_INSTANCE=$WORKSPACE/jboss-5.0.0.GA
ENVIRONMENT='-Dmaven.opts=-U -Djboss.bind.address=localhost -Djbossws.integration.target=$JBOSS_TARGET -Djboss501.home=$JBOSS_INSTANCE -Djava.jdk15.home=$JAVA_HOME'
#
# stop jbossas
#
$FRAMEWORKDIR/hudson/jboss/bin/jboss.sh $JBOSS_INSTANCE stop
#
# build and deploy
#
cd $STACKDIR
cp profiles.xml.example profiles.xml
mvn -Ptestsuite clean
mvn package
# remove obsolete logs
#rm -f $JBOSS_INSTANCE/server/@jboss.server.instance@/log/boot.log
#rm -f $JBOSS_INSTANCE/server/@jboss.server.instance@/log/server.log
#
# start jbossas
#
$FRAMEWORKDIR/hudson/jboss/bin/jboss.sh $JBOSS_INSTANCE start $JBOSS_BINDADDR
# Was it successfully started?
$FRAMEWORKDIR/hudson/jboss/bin/http-spider.sh $JBOSS_BINDADDR:8080 $WORKSPACE
if [ -e $WORKSPACE/spider.failed ]; then
tail -n 100 $JBOSS_INSTANCE/server/@jboss.server.instance@/log/server.log
$FRAMEWORKDIR/hudson/jboss/bin/jboss.sh $JBOSS_INSTANCE stop $JBOSS_BINDADDR
exit 1
fi
#
# log dependency tree
#
mvn -Ptestsuite,$JBOSS_TARGET dependency:tree | tee $WORKSPACE/dependency-tree.txt
#
# execute tests
#
mvn -Dmaven.opts=-U -Djboss.bind.address=localhost -Djbossws.integration.target=$JBOSS_TARGET -Djboss501.home=$JBOSS_INSTANCE -Djava.jdk15.home=$JAVA_HOME -Ptestsuite,hudson,$JBOSS_TARGET -Dinterop=true test 2>&1 | tee $WORKSPACE/tests.log
#
# stop jbossas
#
$FRAMEWORKDIR/hudson/jboss/bin/jboss.sh $JBOSS_INSTANCE stop
#cp $JBOSS_INSTANCE/server/@jboss.server.instance@/log/boot.log $WORKSPACE/jboss-boot.log
#cp $JBOSS_INSTANCE/server/@jboss.server.instance@/log/server.log $WORKSPACE/jboss-server.log
kill-jboss
> Configure JBossWS-3.0.4.GA-testsuite-AS5.0.x job on hudson
> ----------------------------------------------------------
>
> Key: JBWS-2365
> URL: https://jira.jboss.org/jira/browse/JBWS-2365
> Project: JBoss Web Services
> Issue Type: Task
> Security Level: Public(Everyone can see)
> Components: jbossws-integration
> Reporter: Alessio Soldano
> Assignee: Alessio Soldano
> Fix For: jbossws-native-3.0.4
>
>
> See http://hudson.qa.jboss.com/hudson/job/JBossWS-3.0.4.GA-testsuite-AS5.0.x job which need to be correctly configured.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jbossws-issues
mailing list