Qodana
Example. Adds a simple Qodana step for analyzing JVM-based projects
buildType {
// Other Build Type settings ...
steps {
// Other Build Steps ...
qodana {
linter = jvm {}
}
Content copied to clipboard }
}
Example. Adds a simple Qodana step for analyzing Python projects
buildType {
// Other Build Type settings ...
steps {
// Other Build Steps ...
qodana {
linter = python {}
}
Content copied to clipboard }
}
Example. Adds a Qodana step for analyzing JVM-based projects and uses qodana.sarif.json
file as a baseline
buildType {
// Other Build Type settings ...
steps {
// Other Build Steps ...
qodana {
linter = jvm {}
additionalQodanaArguments = "--baseline qodana.sarif.json"
}
Content copied to clipboard }
}
Example. Adds a Qodana step for analyzing JVM-based projects using provided qodana.starter
inspection profile
buildType {
// Other Build Type settings ...
steps {
// Other Build Steps ...
qodana {
linter = jvm {}
inspectionProfile = embedded {
name = "qodana.starter"
}
}
Content copied to clipboard }
}
Example. Adds a Qodana step for analyzing JVM-based projects using specific version of IntelliJ Community
buildType {
// Other Build Type settings ...
steps {
// Other Build Steps ...
qodana {
linter = jvmCommunity {
version = Qodana.JVMCommunityVersion.v2022_1
}
}
Content copied to clipboard }
}
See also
Constructors
Types
Functions
Official Docker image for analyzing Android projects
Deletes all configured build step conditions
Configures build step conditions
Copies parameters of this object to the specified target
Creates an instance of this build step via reflection using a no argument constructor, used during copying. Throws an error if this class doesn't have a default constructor. Subclasses can override it to create an instance without using a default constructor.
Custom Docker image
Path to the custom profile
Default inspection profile
Official Docker image for analyzing .NET projects
Select embedded profile name
Official Docker image for analyzing Go projects
Official Docker image for analyzing JavaScript projects
Official Docker image for analyzing JVM projects
Official Docker image for analyzing JVM projects with IntelliJ Community edition
Official Docker image for analyzing PHP projects
Official Docker image for analyzing Python projects
Validates this object and reports found errors to the provided consumer