Kris
Kris

Reputation: 4823

Is there a way to let Sonarqube know when a build in Jenkins failed?

Is there a way to let Sonarqube know when a build in Jenkins failed? My Sonarqube analysis is triggered by Jenkins downstream of the build of the project. I tried to use the Build Stability Plugin in Sonarqube, but it only works if the build on Jenkins was successful. But I want to show the information that a build failed on Sonarqube's Dashboard.

Upvotes: 0

Views: 122

Answers (1)

ssindelar
ssindelar

Reputation: 2843

Sonar doesn't know about "builds" it just has its analysed versions. Therefore, out of the box there is nothing to support that behavior. It would maybe be possible to build an Addon for sonar which shows information about the current build, but don't know such an addon.

Upvotes: 2

Related Questions