Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
#!/bin/bash
cat ./build/reports/pmd/main.xml || echo "No PMD analytics generated"

...

When Using PMD via other Build System

Typically the build system tool generate a PMD report xml, and you can dump that to the console by a final task. For example:

...