Template for a good new topic, formatted with Markdown:
ALM used:Azure DevOps
CI system used: Azure DevOps
Scanner command used when applicable (private details masked)
Languages of the repository: C#, HTML, JSON
Error observed (wrap logs/code around with triple quotes ``` for proper formatting)
Using Task SonarCloudAnalyze@4 (4.0.2) the build server needs about 14 minutes to compress the zip file of the analysis. The task was canceled after more then 34 minutes runtime (complete build runtime 60 minutes). Building the solution in comparission oly takes 15m 29s - thus sonar analyze takes more then double of the build time.
11:54:20.835 INFO: SCM writing changed lines (done) | time=3157ms
11:54:29.365 INFO: Analysis report generated in 58826ms, dir size=88 MB
12:08:02.68 INFO: Analysis report compressed in 813299ms, zip size=33 MB
12:08:29.19 INFO: Analysis report uploaded in 26510ms
Could you add -Dsonar.verbose=true to your analysis command line and give us the resulting analysis log?
Off-hand, I’m suspecting something going on with your file system. It’s definitely not normal (as I suspect you know ) for zip compression to double analysis duration.