Skip to content

Commit

Permalink
Introduce Qodana checks configuration (Part 2) (#126)
Browse files Browse the repository at this point in the history
* Added cloud token
* Added inspection profile in qodana.yaml to include additional security check
  • Loading branch information
Andronnix authored Sep 27, 2024
1 parent c055fe1 commit 3a73c6b
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 1 deletion.
16 changes: 15 additions & 1 deletion .teamcity/settings.kts
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,10 @@ project {
root(DslContext.settingsRoot)
}

params {
param("env.QODANA_TOKEN", "credentialsJSON:74c92ed1-94f9-433a-8576-5e5185a7ad54")
}

triggers {
vcs {
branchFilter = """
Expand All @@ -168,6 +172,10 @@ project {
hour = 8
}

/* We want this build to run regardless of the new changes as new vulnerabilities are being discovered all the time*/
withPendingChangesOnly = false
enableQueueOptimization = false

branchFilter = "+:<default>"
}
}
Expand All @@ -187,7 +195,13 @@ project {
linter = jvm {
version = Qodana.JVMVersion.LATEST
}
inspectionProfile = default()
cloudToken = "credentialsJSON:74c92ed1-94f9-433a-8576-5e5185a7ad54"
inspectionProfile = customProfile {
path = "qodana.yaml"
}

reportAsTests = true

param("report-as-test-mode", "each-problem-is-test")
}
}
Expand Down
5 changes: 5 additions & 0 deletions qodana.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
version: "1.0"
profile:
name: qodana.starter
include:
- name: VulnerableLibrariesGlobal

0 comments on commit 3a73c6b

Please sign in to comment.