Skip to content

Commit

Permalink
Make a security check before publishing (#131)
Browse files Browse the repository at this point in the history
* Make a security check before publishing

* Rename a button in TC
  • Loading branch information
Andronnix authored Nov 29, 2024
1 parent 472a3a4 commit d4fc53e
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .teamcity/settings.kts
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ project {
}
}

buildType {
val securityCheck = buildType {
id("SecurityCheck")
name = "Security check with Qodana"

Expand Down Expand Up @@ -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,
Expand All @@ -239,6 +241,12 @@ project {
branchFilter = "+:<default>"
}

dependencies {
snapshot(securityCheck) {
onDependencyFailure = FailureAction.FAIL_TO_START
}
}

steps {
gradle {
name = "Publish"
Expand Down

0 comments on commit d4fc53e

Please sign in to comment.