How to send notifications to slack with SonarQube

Home / How to send notifications to slack with SonarQube

Slack SonarQube plugin screenshot

Share on LinkedIn
Pocket

How to send notifications to Slack with ? 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 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 platform 7.2
SonarQube platform 7.2

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 or directly found on .

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 teams have adopted Slack, it’s to receive the notifications in your coding channel. However no official 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.

Slack SonarQube  plugin screenshot
Slack SonarQube plugin screenshot

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

Slack SonarQube  plugin screenshot
Slack SonarQube plugin screenshot

Wish you all the best.

 

Share on LinkedIn
Pocket

, , , , , , , , , , , ,

About Author

about author

Sylvain Leroy

Senior Software Quality Manager and Solution Architect in Switzerland, I have previously created my own company, Tocea, in Software Quality Assurance. Now I am offering my knowledges and services in a small IT Consulting company : Byoskill and a website www.byoskill.com

Currently living in Lausanne (CH)

Optimization WordPress Plugins & Solutions by W3 EDGE