Skip to content
xiaoyao9184 edited this page Apr 16, 2021 · 1 revision

Patch

Generally, the functions in the PDI engine package are incomplete. For example, if the database is not supported, we need to copy the JDBC driver package to the PDI engine directory. The KPT project holds third-party dependent libraries in the project.

Location

In the KPT project you will find the following directories:

├─.pdi/                  patch directory
├─patch.PatchPDI.bat     patch script
└─patch.PatchPDI.sh      patch script

Use

  1. Put the needed files in the .pdi directory
  2. Run the patch.PatchPDI.bat/patch.PatchPDI.bat script

For example: Put mssql-jdbc-9.2.0.jre8.jar in the .pdi/lib/ directory, and will add mssql driver for PDI

Automation

The CI & CD script in the KPT project already supports the automatic running of the patch.PatchPDI.bat/patch.PatchPDI.bat script during deployment

Clone this wiki locally