diff --git a/.teamcity/settings.kts b/.teamcity/settings.kts index 2df3ddc..cc55e09 100644 --- a/.teamcity/settings.kts +++ b/.teamcity/settings.kts @@ -155,6 +155,10 @@ project { root(DslContext.settingsRoot) } + params { + param("env.QODANA_TOKEN", "credentialsJSON:74c92ed1-94f9-433a-8576-5e5185a7ad54") + } + triggers { vcs { branchFilter = """ @@ -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 = "+:" } } @@ -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") } } diff --git a/qodana.yaml b/qodana.yaml new file mode 100644 index 0000000..4d2ab1a --- /dev/null +++ b/qodana.yaml @@ -0,0 +1,5 @@ +version: "1.0" +profile: + name: qodana.starter +include: + - name: VulnerableLibrariesGlobal