This project is WIP (work in progress), a pre-release.
The idea is a
SonarQube plugin that decorates
Gitea's pull reqeusts
with Quality Gate result metrics,
as well as labeling it as passed or failed.
# linux ./mvnw package # windows ./mvnw.cmd package
This will create the
jar file under the
Place the created
jar file in your
SonarQube plugins folder and restart.
After restarting, the plugin configuration will be added to administration control panel:
You can create a designated user in your
Giteainstance and call it
Generate the token with that user and give it a very strict password (to prevent abuse).
That will make the comments and labels to be pushed by the
SonarQubeuser and not your own.
How does it work
If configured, the plugin will check if the project's repository is a
If so, it will push the
QualityGate result metrics to the pull request conversation as so:
With further configuration, the plugin will also label the pull request as so:
As stated earlyer, this is a work in progress.
As such, there is tons of work and any contribution will be gladly accepted.
Please check the CONTRIBUTING.md before contributing.
Code of Conduct
Please check the CODE_OF_CONDUCT.md before opening an issue, a pull request or contributing.