Hello,
I have integrated the execution of SonarQube analysis in Jenkins. I have a pipeline script that executes a gradle command to launch the sonar analysis.
For this I use this gradle plugin → org.sonarsource.scanner.gradle:sonarqube-gradle-plugin:4.4.1.3373
Everything works fine but the analysis takes a long time
11:45:46 D:\Jenkins\workspace\orkspace_environment_test_fedris>D:\gradle\gradle-6.9.4/bin/gradle sonarqube -Dsonar.login=sqa_be1f33d639bc4a0ff054aeab2ca932fd4ff296c1 -Dsonar.host.url=http://w2019-sonarqube.fedris.be:9000 -Dsonar.qualitygate.wait=true -Dsonar.gradle.skipCompile=true
...
11:50:41 BUILD SUCCESSFUL in 4m 45s
When I look at the SonarQube level, I have totally different time.
Submitted : 11.49:30 AM
Started : 11:49:30 AM
Finished : 11:50:29 AM
Duration : 58s
Does anyone have an explanation for this? What should I do to reduce the analysis time?
Thanks