qodana-jvm-community-drone-.../README.md

19 lines
514 B
Markdown
Raw Normal View History

2023-08-03 13:04:46 +02:00
# Qodana JVM Community Drone plugin
2023-08-03 13:03:45 +02:00
2023-08-03 13:04:46 +02:00
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>
2023-08-03 13:34:44 +02:00
args: <args>
2023-08-03 13:04:46 +02:00
```
2023-08-03 13:34:44 +02:00
To use the quality gate feature, add `--fail-threshold <number>` to the args setting.
2023-08-03 13:04:46 +02:00
2023-08-03 13:34:44 +02:00
To use baseline feature, add `--baseline qodana.sarif.json` to the args setting.
This file has to be checked-in to the root of your project.