CI: update teamcity settings (#3579)

Fix a build config error and add a scheduled trigger
to perform nightly builds.
This commit is contained in:
Derek Parker 2023-11-23 00:07:41 -08:00 committed by GitHub
parent f1daaeb1b0
commit 08eced2f1f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -163,13 +163,25 @@ class ArchProject(os: String, arch: String, tests: List<TestBuild>) : Project({
class TestBuild(val os: String, val arch: String, val version: String, buildId: AbsoluteId) : BuildType({
id = buildId
name = if (version == "tip") arch else version
name = if (version == "tip") "${os}_${arch}_tip" else version
vcs {
root(DslContext.settingsRoot)
branchFilter = if (version == "tip") "-:pull/*" else "+:*"
}
if (version == "tip") {
triggers {
schedule {
schedulingPolicy = daily {
hour = 23
}
withPendingChangesOnly = true
triggerBuild = always()
}
}
}
failureConditions {
executionTimeoutMin = 30