Analysis succeeding using SonarQube runner/scanner but failing on the server side; isn't there an option to wait for all server tasks to complete?

351 views
Skip to first unread message

Francis Galiegue

unread,
Mar 27, 2016, 1:45:40 PM3/27/16
to SonarQube
Hello,

Admittedly I have never had an analysis fail on the server side before 5.1.x. But after 5.2.x, that's a different matter.

In the small time which I've been experiencing with it, I had an analysis fail on me on the server side but the return code of the analysis process is 0. I have to check each time on the server whether an analysis has succeeded or failed.

This means that currently, the runner/scanner cannot be used reliably with, say, at or cron to ensure that an analysis has completed successfully.

Is there a plan for this SonarQube component to be able to wait for the server side processing to complete so as to declare a full success?

Regards

Arnaud TAMAILLON

unread,
Mar 27, 2016, 2:42:34 PM3/27/16
to Francis Galiegue, SonarQube
Hi,

It would be a great addition.
It would allow to add options to keep the report on the runner side if integration on server side failed or even retry, leading toless time being lost when analysis takes hours.

Arnaud

De : Francis Galiegue
Envoyé : ‎27/‎03/‎2016 19:45
À : SonarQube
Objet : Analysis succeeding using SonarQube runner/scanner but failing on theserver side; isn't there an option to wait for all server tasks to complete?

--
You received this message because you are subscribed to the Google Groups "SonarQube" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sonarqube+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sonarqube/2ebedc8e-4da8-4437-a8f4-1bff5085a655%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

mjdet...@gmail.com

unread,
Mar 27, 2016, 9:03:13 PM3/27/16
to SonarQube
The Build Breaker plugin -- https://github.com/SonarQubeCommunity/sonar-build-breaker -- will verify CE task success if it is enabled, even if there is no quality gate associated with the project. If you want to verify success without verifying against a quality gate, it should be fairly easy fork and implement.
Reply all
Reply to author
Forward
0 new messages