Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/tnfhrnsss/sonarqube_coverage_tracker

sonarqube code coverage tracker
https://github.com/tnfhrnsss/sonarqube_coverage_tracker

coverage slack sonarqube

Last synced: about 1 month ago
JSON representation

sonarqube code coverage tracker

Awesome Lists containing this project

README

        

# sonarqube code coverage tracker

This project monitors code coverage measured in SonarQube to help maintain quality.

## Requirements

* python 3.12+
* slack-sdk

## Usage

* install modules

```
pip install slack_sdk
pip install requests
```

* You can configure the sonarqube api url and Slack details in the env.json.
```
{
"slack_token": "",
"slack_channel_id": "",
"projects": [],
"sonarqube": {
"api_url": "http://localhost:9100/api"
}
}
```

## Features
- collect project's class coverage of sonarqube
- detecting substandard coverage classes
- alarm to slack channel (mention to code author)

## Output snapshot
* slack message

![slack_message](https://tnfhrnsss.github.io/docs/sub-projects/img/sonarqube_coverage_monitoring.png)

## Blog reference

For further reference, please consider the following sections:

* [blog](https://tnfhrnsss.github.io/docs/sub-projects/sonarqube_coverage_monitoring/)