|
| 1 | +#-------------------------------------------------------------------------------# |
| 2 | +# Qodana analysis is configured by qodana.yaml file # |
| 3 | +# https://www.jetbrains.com/help/qodana/qodana-yaml.html # |
| 4 | +#-------------------------------------------------------------------------------# |
| 5 | + |
| 6 | +################################################################################# |
| 7 | +# WARNING: Do not store sensitive information in this file, # |
| 8 | +# as its contents will be included in the Qodana report. # |
| 9 | +################################################################################# |
| 10 | +version: "1.0" |
| 11 | + |
| 12 | +#Specify inspection profile for code analysis |
| 13 | +profile: |
| 14 | + name: qodana.starter |
| 15 | + |
| 16 | +#Enable inspections |
| 17 | +#include: |
| 18 | +# - name: <SomeEnabledInspectionId> |
| 19 | + |
| 20 | +#Disable inspections |
| 21 | +#exclude: |
| 22 | +# - name: <SomeDisabledInspectionId> |
| 23 | +# paths: |
| 24 | +# - <path/where/not/run/inspection> |
| 25 | + |
| 26 | +projectJDK: "17" #(Applied in CI/CD pipeline) |
| 27 | + |
| 28 | +#Execute shell command before Qodana execution (Applied in CI/CD pipeline) |
| 29 | +#bootstrap: sh ./prepare-qodana.sh |
| 30 | + |
| 31 | +#Install IDE plugins before Qodana execution (Applied in CI/CD pipeline) |
| 32 | +#plugins: |
| 33 | +# - id: <plugin.id> #(plugin id can be found at https://plugins.jetbrains.com) |
| 34 | + |
| 35 | +# Quality gate. Will fail the CI/CD pipeline if any condition is not met |
| 36 | +# severityThresholds - configures maximum thresholds for different problem severities |
| 37 | +# testCoverageThresholds - configures minimum code coverage on a whole project and newly added code |
| 38 | +# Code Coverage is available in Ultimate and Ultimate Plus plans |
| 39 | +#failureConditions: |
| 40 | +# severityThresholds: |
| 41 | +# any: 15 |
| 42 | +# critical: 5 |
| 43 | +# testCoverageThresholds: |
| 44 | +# fresh: 70 |
| 45 | +# total: 50 |
| 46 | + |
| 47 | +#Specify Qodana linter for analysis (Applied in CI/CD pipeline) |
| 48 | +linter: jetbrains/qodana-jvm-community:2025.2 |
0 commit comments