Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/tnfhrnsss/sonarqube_coverage_tracker
- Owner: tnfhrnsss
- Created: 2024-08-23T00:17:56.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2024-08-25T11:33:49.000Z (5 months ago)
- Last Synced: 2024-10-25T02:38:20.668Z (3 months ago)
- Topics: coverage, slack, sonarqube
- Language: Python
- Homepage: https://tnfhrnsss.github.io/docs/sub-projects/sonarqube_coverage_monitoring/
- Size: 7.81 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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/)