Skip to content

Latest commit

 

History

History
17 lines (13 loc) · 833 Bytes

File metadata and controls

17 lines (13 loc) · 833 Bytes

SonarScanner for Ant is deprecated on SonarCloud and as of SonarQube 9.9. Please see Moving from SonarScanner for Ant to SonarScanner documentation for how to migrate to the SonarScanner.

SonarScanner for Ant

This example demonstrates how to analyze a simple Apache Ant project with SonarScanner for Ant.

Prerequisites

Usage

  1. Set the path to the SonarQube Ant Task in the build.xml file
  2. Set the URL of your SonarQube instance in the property 'sonar.host.url'
  3. Run the following command:
    ant all