forked from holatuwol/liferay-portal
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathbuild-test-tomcat-mariadb.xml
33 lines (28 loc) · 1.25 KB
/
build-test-tomcat-mariadb.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<?xml version="1.0"?>
<project basedir="." default="test" name="portal-test-tomcat-mariadb" xmlns:antelope="antlib:ise.antelope.tasks">
<import file="build-test-tomcat.xml" />
<import file="build-test.xml" />
<target name="run-selenium-tomcat-mariadb">
<if>
<not>
<isset property="database.version" />
</not>
<then>
<var name="database.version" value="10.6" />
</then>
</if>
<get-database-property property.name="database.host" />
<antcall inheritAll="false" target="start-docker-database-mariadb">
<param name="skip.prepare.portal.ext.properties" value="true" />
<param name="skip.rebuild.database" value="true" />
</antcall>
<antcall inheritAll="false" target="run-selenium-tomcat">
<param name="database.mariadb.docker.image" value="mariadb:${database.version}" />
<param name="database.mariadb.host" value="${database.host}_mariadb" />
<param name="database.mariadb.schema" value="lportal" />
<param name="database.mariadb.url" value="jdbc:mariadb://${database.host}:3308/${database.mariadb.schema}?useUnicode=true&characterEncoding=UTF-8&useFastDateParsing=false" />
<param name="database.type" value="mariadb" />
<param name="test.class" value="${test.class}" />
</antcall>
</target>
</project>