Share via


Use PMD, Checkstyle, and FindBugs with Azure DevOps Services and TFS for Java development

TFS 2018 | TFS 2017

Use PMD, CheckStyle, and FindBugs standalone static analysis during a Maven or Gradle build using TFS 2017+ or Azure DevOps Services.

Enabling analysis

To use these tools you simply check the corresponding checkbox in the Static Analysis section of a Maven build task or Gradle build task.

Enable static analysis for Maven builds

Reviewing the build summary and artifacts

The build summary reports the number of issues found by each of the tools you have activated.

Build summary examples with issues

Detailed issue logs are available under the build artifact tab of the build summary. If you analyze a multi-module Maven project, the results are split by module.

Build summary details for artifacts

PMD, CheckStyle and FindBugs support for Maven and Gradle is currently available in Azure DevOps Services or TFS 2017 Update 1 or later.

Next Steps

For more detailed instructions on enabling static analysis tools, which default rules are activated and how to configure them, see the following blog posts: