.sonar directory growing large on build agent

  • ALM used: Azure DevOps
  • CI system used: Azure DevOps
  • Languages of the repository: C#, javascript, typescript, html, css
  • Error observed:
    A directory with name .sonar is growing quite large on our build agent:

Our build agents have limited disk space available and this folder seems to take up quite some of that space. Could we regularly clean up this folder? Does it contain anything important? Would cleaning it have any performance impacts?


This folder stores temp files and cache plugins used by the scanner.

You can clean this folder from time to time, it might slow down the first analysis after the houskeeping though.

Since you are in a cloud context the network connectivity is generally good enough to avoid any big impact but it might incur some costs because of the network traffic (depends on the pricing model of the cloud provider and your infra).



This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.