How to send notifications to Slack with SonarQube ? What are the best plugins ? That is what we are going to discover in this post.

SonarQube

Unless you live on another developer planet, SonarQube is an code quality platform, sold by the SonarSource company. The platform is delivering a quite huge set of features and even if competitors (read also this) exist on the market, IMHO they are the leaders.

SonarQube comes with a large set of plugins. Official registered one, mostly maintained by SonarSourcem are available in the Marketplace and some confidential ones listed on a wiki page of SonarSource or directly found on Github.

In the past, the OSS community seem to be wider and ready to produce plugins. However the frequent API changes and their commercial behavior have slightly decreased the interest, IMHO.

Why Slack in this affair ?

Slack is an instant messaging platform offering workgroups and additional features over IRC (but still IRC is better

Since a lot of coding teams have adopted Slack, it’s natural to receive the notifications in your coding channel. However no official plugin still exists.

Slack plugins for SonarQube

I browsed the page Other plugins to find referenced some Slack plugins for SonarQube.

I have retained two plugins from @kogitant and @keiki. The plugin from @tomhoag was cool but old and unmaintained.

The keiki plugin seems to most recent ones but seems unfinished. The master branch has no code and the kotlin branch less features than @kogitant.

Since the @kogitant version has worked but is an uncertain state (unmaintained), I have resumed the coding and have integrated on my own fork, the several P/R and a new feature.

You can download the plugin there :

https://github.com/sleroy/sonar-slack-notifier-plugin

Wish you all the best.

--

--

Silvan

#Digital #Transformation Techlead at @serial_ch. @tocea founder. I save #software in exchange of Chocolates,Cheese and Beer in Switzerland #Breton/Gallo en exil