Skip to content

Commit 2151cd8

Browse files
committed
KTL-1723 fix: get last successful grammar build
1 parent 4f75d42 commit 2151cd8

File tree

1 file changed

+3
-9
lines changed

1 file changed

+3
-9
lines changed

.teamcity/builds/kotlinlang/templates/DockerImageBuilder.kt

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -34,15 +34,9 @@ object DockerImageBuilder : Template({
3434
onDependencyCancel = FailureAction.CANCEL
3535
}
3636

37-
dependency(BuildKotlinGrammar) {
38-
snapshot {
39-
onDependencyFailure = FailureAction.FAIL_TO_START
40-
onDependencyCancel = FailureAction.CANCEL
41-
}
42-
43-
artifacts {
44-
artifactRules = "grammar.xml"
45-
}
37+
artifacts(BuildKotlinGrammar) {
38+
buildRule = lastPinned("+:*")
39+
artifactRules = "grammar.xml"
4640
}
4741
}
4842
})

0 commit comments

Comments
 (0)