This browser is no longer supported.

Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.

Download Microsoft Edge More info about Internet Explorer and Microsoft Edge

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 .

Reviewing the build summary and artifacts

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

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.

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:

  • Maven and Gradle build tasks support powerful code analysis tools
  • The Maven build task now supports PMD analysis out of the box
  • Maven and Gradle build task support Checkstyle analysis
  •