Simple server for parse and send sonar quality gate statuses to the slack channel.
git clone [email protected]:EvgenyMahnovets/sonar-slack-notifier.git
cd sonar-slack-notifier
Install all dependencies:
npm install
Create configuration file:
cp examples/config.json config.json
Modify webhook and slack channel in config.json
npm start
Add your server address as webhook in sonar project preferences (Administration > General Settings > Webhooks
).
Fill URL wild with your sonar-slack-notifier server address:
https://awesomeproject.com:3000/sonarQube