Must-share information (formatted with Markdown):
-
- Developer Edition Version 8.3.1 (build 34397)
- what are you trying to achieve — run sonar analysis w/o error
- what have you tried so far to achieve this - increased timeout to 10 minutes
Odd situation - we have self hosted gitlab and use sonarqube (self hosted) for MR analysis with gitlab.
I made a trivial change - added a method to a class and added a test to exercise that method - to start testing our pipelines.
Sonar seems to be working. I get my MR decorator that shows 100% of my new code is being hit, and the expected code smell (duplicated code) is also reported.
The link from the analysis report is correct and I can open the Sonar page and dive into the (apparently) correct analysis.
The problem is that the console in gitlab for the analyze phase is showing
Quality Gate Timeout Exceeded:
Failed to execute goal org.sonarsource.scanner.maven:sonar-maven-plugin:3.7.0.1746:sonar (default-cli) on project mycompany-core: Quality Gate check timeout exceeded
But otherwise this works as expected. I’d like to understand why this error is being reported and what I can do to eliminate the condition causing this error.
Thanks for any help!