Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

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