Skip to content

Latest commit

 

History

History
48 lines (32 loc) · 2.41 KB

standalone-tools.md

File metadata and controls

48 lines (32 loc) · 2.41 KB
title description ms.prod ms.technology ms.topic ms.custom ms.manager ms.author author ms.date monikerRange
Use standalone static analysis with Azure DevOps Services and TFS
Learn how to use PMD, Checkstyle, and FindBugs with Azure DevOps Services and TFS for Java development
devops
devops-cicd
conceptual
java
mijacobs
dastahel
davidstaheli
01/22/2018
>= 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: