Build-Breaker Plugin

Is the Build-Breaker plugin now obsolete? I do not see it on the Plugin Matrix
https://docs.sonarqube.org/display/PLUG/Plugin+Version+Matrix

We are upgrading from 5.6.6 to 6.7, on our way to 7.9 when it’s released and I don’t know whether we should keep or delete the current version of build-breaker plugin we are using, v2.2. If this plugin is now obsolete, what has replaced it?

Yes, it has been dropped in 2016. The 2.2 version is compatible with SonarQube 5.5 - 6.3 (see SonarQube Build Breaker Plugin).

You should read this to understand Why You Shouldn’t Use Build Breaker.

There is no replacement, but:

  • you can execute web API to get QG state and fail your build
  • if you use Jenkins you can use waitForQualityGate step (read more here)
1 Like