SonarQube ant scan working directory

Using SonarQube LTS 7.9.1
SonarQube scanner for Ant 2.6.0

The page https://docs.sonarqube.org/latest/analysis/analysis-parameters/ says that sonar.working.directory points to “.sonar” directory by default and this directory gets cleaned up before each analysis.
However, it seems like the default working directory location has changed with new ant plugin version. I can see that it now points to “.scannerwork”.
The documentation should be updated.

1 Like

Hi Ankur,

You’re right. We did update the name in SCANNERAPI-168. I’ll update the documentation to show this change. Thanks for pointing that out!

Mike

1 Like