Update README.md

This commit is contained in:
Jim Martens 2023-08-03 13:04:46 +02:00
parent 155e038709
commit aab9868867
1 changed files with 19 additions and 19 deletions

View File

@ -1,20 +1,20 @@
# qodana-jvm-community-drone-plugin
# Qodana JVM Community Drone plugin
This Drone plugin uses the Qodana JVM Community linter and makes it compatible with Drone.
# Usage
```
- name: Step name
image: 2martens/qodana-jvm-community-drone-plugin
settings:
qodana_token: <qodana-cloud-token>
commands:
- qodana
```
To use the quality gate feature, add `--fail-threshold <number>` as argument to the qodana command.
To use baseline feature, add `--baseline qodana.sarif.json` as argument to the qodana command. This file has to be checked-in to the root of your project.
To push the results to Qodana cloud, add the qodana_token to the settings.
This Drone plugin uses the Qodana JVM Community linter and makes it compatible with Drone.
# Usage
```
- name: Step name
image: 2martens/qodana-jvm-community-drone-plugin
settings:
qodana_token: <qodana-cloud-token>
commands:
- qodana
```
To use the quality gate feature, add `--fail-threshold <number>` as argument to the qodana command.
To use baseline feature, add `--baseline qodana.sarif.json` as argument to the qodana command. This file has to be checked-in to the root of your project.
To push the results to Qodana cloud, add the qodana_token to the settings.