Skip to content

Latest commit

 

History

History
48 lines (32 loc) · 2.38 KB

standalone-tools.md

File metadata and controls

48 lines (32 loc) · 2.38 KB

title: Use standalone static analysis description: Learn how to use PMD, Checkstyle, and FindBugs with Azure DevOps Services and TFS for Java development ms.prod: devops ms.technology: devops-cicd ms.topic: conceptual ms.custom: java ms.manager: mijacobs ms.author: dastahel author: davidstaheli ms.date: 01/22/2018 monikerRange: '>= tfs-2017'

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

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 your these tools you simply check the corresponding checkbox in the Static Analysis section of a Maven build task or Gradle build task.

[!div class="mx-imgBorder"] 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.

[!div class="mx-imgBorder"] 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.

[!div class="mx-imgBorder"] 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: