Compile performance repo (and test comparison)
10
5
-1
2
false
2
git://github.com/jbosstm/performance.git
master
false
linux
false
true
false
false
jdk7.latest
H 18 * * 5
false
export M2_HOME=/usr/local/apache-maven-3.0.4
export ANT_HOME=/home/hudson/apache-ant-1.8.2
export PATH=$M2_HOME/bin:$ANT_HOME/bin:$PATH
export JBOSS_HOME=$WORKSPACE/comparison/common/target/wildfly-run/wildfly-9.0.0.Alpha1
cd $WORKSPACE/comparison;
mvn clean install -DskipTests; [[ $? = 0 ]] || exit 1; # downloads wildfly-9.0.0.Alpha1
mvn test -f rest-at/pom.xml; [[ $? = 0 ]] || exit 1;
mvn test -f jts/pom.xml; [[ $? = 0 ]] || exit 1;
# the next two depend upon the quickstarts which needs fixing so disabling for now
#cd $WORKSPACE/integration/jts; mvn clean install -DskipTests; [[ $? = 0 ]] || exit 1
#cd $WORKSPACE/integration/ejb/perftest; mvn clean install -DskipTests; [[ $? = 0 ]] || exit 1
cd $WORKSPACE/narayana; mvn clean install; [[ $? = 0 ]] || exit 1
# of the following only -P EAP6-LATEST builds against the current narayana so can safely disable them
cd $WORKSPACE/product;
#mvn clean install -P EAP6-LATEST -DskipTests # build narayana in this job to test this profile
mvn clean install -P EAP6 -DskipTests; [[ $? = 0 ]] || exit 1
mvn clean install -P EAP6-JDKORB -DskipTests; [[ $? = 0 ]] || exit 1
mvn clean install -P EAP5 -DskipTests; [[ $? = 0 ]] || exit 1
function test_eap {
export JBOSS_TERM=term # do not launch jboss in a separate terminal
export EAP5_ZIP=http://172.17.130.4:8083/userContent/jboss-eap-5.1.1.zip
export EAP6_ZIP=http://172.17.130.4:8083/userContent/jboss-eap-6.0.1.zip
# export stores="default com.arjuna.ats.internal.arjuna.objectstore.hornetq.HornetqObjectStoreAdaptor"
export products="EAP6 EAP5" iterations=10000 threads="10" jtsModes="false true"
# export products="EAP5 EAP6" iterations=100000 warmUp=10000 threads="100" testhq=1 flushRates="150 1200" bufferSizes=501760 syncDeletes="true" jtsModes="true"
# export products="EAP6" iterations=100000 warmUp=10000 threads="80" testhq=1 flushRates="1200" bufferSizes=501760 syncDeletes="true" jtsModes="false"
cd product; ./scripts/tmcmp.sh; cd ..
# ./integration/ejb/perftest/scripts/eapcmp.sh integration/ejb/perftest/etc/quick.txt
}
mmusgrov@redhat.com
false
false