Open Thunderforge opened 6 years ago
@Thunderforge Just a thought, but maybe this is actually a feature request for TeamCity?
@KellyR-STCU In what way would it be a feature request for TeamCity? Doesn't the SonarQube plugin tell TeamCity whether or not it failed?
@Thunderforge I mean just as a general concept, "do not let this step fail the build regardless of if the step itself failed". It seems useful in a general sense and at least to me it seems a lot easier to do than to have to modify every single step that anyone makes for TeamCity to handle this differently.
I can try to add custom build failure condition enabled by default - something like "Fail the build if SonarQube Scanner fails". So that it will be possible to disable it.
I can try to add custom build failure condition enabled by default - something like "Fail the build if SonarQube Scanner fails". So that it will be possible to disable it.
Hi Linfar, Is this already fixed?
I can try to add custom build failure condition enabled by default - something like "Fail the build if SonarQube Scanner fails". So that it will be possible to disable it.
Hello, appreciate if you let us know when the feature is available. It will be very useful for our teams as well. thx
While we have enjoyed using the TeamCity SonarQube plugin, we are concerned that a SonarQube error causes the TeamCity build to fail (thus causing any other builds in the build chain to not start). Since SonarQube running is not mission-critical, we want for SonarQube to silently fail and not block a build.
For example, we have a build chain that looks like this:
The build steps "Run Gradle" and "Run PowerShell Script" are mission-critical, but "Run SonarQube Runner" is not. Unfortunately, if it fails because our SonarQube server is offline, it fails the build and prevents Deploy WebApp from running. Having Deploy WebApp run even with failed dependencies is not possible, not only because that would allow Gradle failures, but also it doesn't work in our more complex build chains.
We would like for SonarQube Runner to have an option to silently fail if there is an error such as the SonarQube server being offline, thus not breaking our builds. The lack of this feature is a dealbreaker for using the Sonarqube Plugin for TeamCity.