CI: update teamcity settings (#3579)
Fix a build config error and add a scheduled trigger to perform nightly builds.
This commit is contained in:
parent
f1daaeb1b0
commit
08eced2f1f
14
.teamcity/settings.kts
vendored
14
.teamcity/settings.kts
vendored
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user