diff --git a/.teamcity/settings.kts b/.teamcity/settings.kts index e8c36ac..f39aafa 100644 --- a/.teamcity/settings.kts +++ b/.teamcity/settings.kts @@ -144,7 +144,7 @@ project { } } - buildType { + val securityCheck = buildType { id("SecurityCheck") name = "Security check with Qodana" @@ -220,10 +220,12 @@ project { } params { + text("teamcity.ui.runButton.caption", "Publish") + text( "releaseVersion", "SNAPSHOT", - "Version number to be used when publishing to Space", + "Release version", "Version number to be used when publishing to Space", ParameterDisplay.PROMPT, readOnly = false, @@ -239,6 +241,12 @@ project { branchFilter = "+:" } + dependencies { + snapshot(securityCheck) { + onDependencyFailure = FailureAction.FAIL_TO_START + } + } + steps { gradle { name = "Publish"