add all branches but PRs to filter (#3590)

This commit is contained in:
Artem Khvastunov 2023-11-29 12:23:34 +01:00 committed by GitHub
parent d8ed28ff35
commit 15142ac3d6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -170,7 +170,14 @@ class TestBuild(val os: String, val arch: String, val version: String, buildId:
vcs { vcs {
root(DslContext.settingsRoot) root(DslContext.settingsRoot)
branchFilter = if (version == "tip") "-:pull/*" else "+:*" branchFilter = if (version == "tip") {
"""
+:*
-:pull/*
""".trimIndent()
} else {
"+:*"
}
} }
if (version == "tip") { if (version == "tip") {