This export hook exports release data into sql database. It also exports phases, tasks, teams, permissions, team members, variables and tags of the release.
- Install MySQL or MariaDB
- Create new database with name will be used in JDBC URL
- Download the latest version of MySQL connector/J and put into
<XLRELEASE_SERVER_HOME>/plugins
- Install PostgreSQL
- Create new database with name that will be used in JDBC URL
- Download the latest version of PostgreSQL driver and put into
<XLRELEASE_SERVER_HOME>/plugins
-
Make sure that your database server uses UTF-8 as default encoding otherwise, check this mySQL link / PostgreSQL link
-
Set up database schema:
- MySQL
mysql -u<user> -p<password> -D <database> < ./myTables.sql
- PostgreSQL
psql <database> -U <user> -W <password> < ./pgTable.sql
- MySQL
-
Copy plugin JAR to plugins folder (
<XLRELEASE_SERVER_HOME>/plugins
) -
restart XL Release server
-
in XL Release go to
Setting -> Configuration -> Add Sql export hook
. Fill in your username, password, JDBC url:- MySQL
Description Property JDBC URL jdbc:mysql://<host>:<port>/<database>
Driver com.mysql.jdbc.Driver
- PostgreSQL
Description Property JDBC URL jdbc:postgresql://<host>:<port>/<database>
Driver org.postgresql.Driver
-
Check that archiving is enabled