PMD
This operation will install PMD for you if you like. Otherwise, you can download other versions from https://sourceforge.net/projects/pmd/files/pmd/.Target Properties
Property Name | Property Code | Required | Description |
PMD Path |
| No | Absolute path to PMD bin folder containing run.sh and pmd.bat (Eg: /u01/pmd/pmd-bin-6.46.0/bin) If this value is empty, then the plugin will install PMD v7.19.0 on end point (as of FlexDeploy 9.0.0.12) |
Project Properties
Property Name | Property Code | Required | Description |
PMD Rule File Names |
| No* | Rule File Name(s). Specify multiple PMD Rule Files separated commas. Relative paths are in respect to FD_TEMP_DIR but absolute path can also be set. * |
Language Type |
| No | Select this to define what language PMD will use to test.(This Property is mandatory if No custom Ruleset provided. ) |
Inputs
Input Name | Input Code | Required | Description |
|---|---|---|---|
PMD Rule File Names |
| No* | Rule File Name(s). Specify multiple PMD Rule Files separated commas. Relative paths are in respect to FD_TEMP_DIR but absolute path can also be set. * |
Project Source Folder |
| No | Path to the project. If a relative path is given, a path inside of the FD_TEMP_DIR will be assumed. |
Additional arguments |
| No | Additional Arguments to pass to the PMD CLI such as options, output formats, and supported languages. https://pmd.github.io/pmd/pmd_userdocs_cli_reference.html#options ex: —debug,—use-version <lang-version> |
Outputs
Output Name | Required | Description |
|---|---|---|
| No | Total issues count |
| No | Total issues count for priority 1 |
| No | Total issues count for priority 2 |
| No | Total issues count for priority 3 |
| No | Total issues count for priority 4 |