<property name="com.vaadin.testbench.lib.dir" value="${com.vaadin.testbench.lib.dir}" />\r
<property name="com.vaadin.testbench.tester.host" value="${com.vaadin.testbench.tester.host}" />\r
<property name="com.vaadin.testbench.deployment.url" value="${deployment.url}" />\r
+ <property name="server.start.succeeded" value="1" />\r
<property name="browsers" value="${test_browsers}" />\r
<property name="testfiles" value="${test-liferay}" />\r
\r
<property name="com.vaadin.testbench.lib.dir" value="${com.vaadin.testbench.lib.dir}" />\r
<property name="com.vaadin.testbench.tester.host" value="${com.vaadin.testbench.tester.host}" />\r
<property name="com.vaadin.testbench.deployment.url" value="${deployment.url}" />\r
+ <property name="server.start.succeeded" value="1" />\r
<property name="browsers" value="winxp-firefox36" />\r
<property name="testfiles" value="${init-liferay}" />\r
\r
<property name="com.vaadin.testbench.lib.dir" value="${com.vaadin.testbench.lib.dir}" />\r
<property name="com.vaadin.testbench.tester.host" value="${com.vaadin.testbench.tester.host}" />\r
<property name="com.vaadin.testbench.deployment.url" value="http://${sshHost}:7001" />\r
+ <property name="server.start.succeeded" value="1" />\r
<property name="browsers" value="${test_browsers}" />\r
<property name="testfiles" value="${test-weblogic}" />\r
\r
<property name="com.vaadin.testbench.lib.dir" value="${com.vaadin.testbench.lib.dir}" />\r
<property name="com.vaadin.testbench.tester.host" value="${com.vaadin.testbench.tester.host}" />\r
<property name="com.vaadin.testbench.deployment.url" value="http://vaadin-integration-test.appspot.com/" />\r
+ <property name="server.start.succeeded" value="1" />\r
<property name="browsers" value="${test_browsers}" />\r
<property name="testfiles" value="${test-GAE}" />\r
\r
\r
<!-- Upload demo, clean error screenshots and test deployment on all servers -->\r
<target name="integration-test-all">\r
- <antcall target="integration-test-upload-demo" />\r
- <echo>Getting lock</echo>\r
+ <echo message="Getting lock" />\r
<antcall target="integration-test-get-lock" />\r
- <echo>Got lock</echo>\r
+ <echo message="Got lock" />\r
+ \r
+ <antcall target="integration-test-upload-demo" />\r
+ \r
+ <antcall target="run-integration-test">\r
+ <param name="target-server" value="tomcat4"/>\r
+ </antcall>\r
+ <antcall target="run-integration-test">\r
+ <param name="target-server" value="tomcat5"/>\r
+ </antcall>\r
+ <antcall target="run-integration-test">\r
+ <param name="target-server" value="tomcat6"/>\r
+ </antcall>\r
+ <antcall target="run-integration-test">\r
+ <param name="target-server" value="jetty5"/>\r
+ </antcall>\r
+ <antcall target="run-integration-test">\r
+ <param name="target-server" value="jetty6"/>\r
+ </antcall>\r
+ <antcall target="run-integration-test">\r
+ <param name="target-server" value="jetty7"/>\r
+ </antcall>\r
+ <antcall target="run-integration-test">\r
+ <param name="target-server" value="jboss3"/>\r
+ </antcall>\r
+ <antcall target="run-integration-test">\r
+ <param name="target-server" value="jboss4"/>\r
+ </antcall>\r
+ <antcall target="run-integration-test">\r
+ <param name="target-server" value="jboss5"/>\r
+ </antcall>\r
+ <antcall target="run-integration-test">\r
+ <param name="target-server" value="glassfish2"/>\r
+ </antcall>\r
+ <antcall target="run-integration-test">\r
+ <param name="target-server" value="glassfish3"/>\r
+ </antcall>\r
+ <antcall target="run-integration-test">\r
+ <param name="target-server" value="liferay"/>\r
+ </antcall>\r
+ <antcall target="run-integration-test">\r
+ <param name="target-server" value="weblogic9"/>\r
+ </antcall>\r
+ <antcall target="run-integration-test">\r
+ <param name="target-server" value="weblogic10"/>\r
+ </antcall>\r
+ <antcall target="run-integration-test">\r
+ <param name="target-server" value="GAE"/>\r
+ </antcall>\r
+\r
+ <antcall target="integration-test-clean" />\r
+ <echo message="Getting lock" />\r
+ <antcall target="integration-test-release-lock" />\r
+ <echo message="Lock released" />\r
+ </target>\r
+ \r
+ <target name="run-integration-test">\r
<trycatch property="tried">\r
<try>\r
- <antcall target="integration-test-tomcat4" />\r
- <antcall target="integration-test-tomcat5" />\r
- <antcall target="integration-test-tomcat6" />\r
- <antcall target="integration-test-jetty5" />\r
- <antcall target="integration-test-jetty6" />\r
- <antcall target="integration-test-jetty7" />\r
- <antcall target="integration-test-jboss3" />\r
- <antcall target="integration-test-jboss4" />\r
- <antcall target="integration-test-jboss5" />\r
- <antcall target="integration-test-glassfish2" />\r
- <antcall target="integration-test-glassfish3" />\r
- <antcall target="integration-test-liferay" />\r
- <antcall target="integration-test-weblogic9" />\r
- <antcall target="integration-test-weblogic10" />\r
- <antcall target="integration-test-GAE" />\r
+ <antcall target="integration-test-${target-server}" />\r
</try>\r
<catch>\r
- <echo>${tried}</echo>\r
- <echo>Running targets: integration-test-clean and integration-test-release-lock</echo>\r
+ <echo message="##teamcity[testFailed name='${target-server}' message='Integration test for ${target-server} failed.' details='${tried}']" />\r
</catch>\r
- <finally>\r
- <antcall target="integration-test-clean" />\r
- <antcall target="integration-test-release-lock" />\r
- </finally>\r
</trycatch>\r
</target>\r
\r