Skip to content

Commit

Permalink
KTL-1723 fix: get last successful grammar build
Browse files Browse the repository at this point in the history
  • Loading branch information
nikpachoo committed Oct 27, 2024
1 parent 4f75d42 commit e6ee10b
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions .teamcity/builds/kotlinlang/templates/DockerImageBuilder.kt
Original file line number Diff line number Diff line change
Expand Up @@ -34,15 +34,9 @@ object DockerImageBuilder : Template({
onDependencyCancel = FailureAction.CANCEL
}

dependency(BuildKotlinGrammar) {
snapshot {
onDependencyFailure = FailureAction.FAIL_TO_START
onDependencyCancel = FailureAction.CANCEL
}

artifacts {
artifactRules = "grammar.xml"
}
artifacts(BuildKotlinGrammar) {
buildRule = lastPinned("+:*")
artifactRules = "grammar.xml"
}
}
})

0 comments on commit e6ee10b

Please sign in to comment.