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({
|
class TestBuild(val os: String, val arch: String, val version: String, buildId: AbsoluteId) : BuildType({
|
||||||
id = buildId
|
id = buildId
|
||||||
name = if (version == "tip") arch else version
|
name = if (version == "tip") "${os}_${arch}_tip" else version
|
||||||
|
|
||||||
vcs {
|
vcs {
|
||||||
root(DslContext.settingsRoot)
|
root(DslContext.settingsRoot)
|
||||||
branchFilter = if (version == "tip") "-:pull/*" else "+:*"
|
branchFilter = if (version == "tip") "-:pull/*" else "+:*"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (version == "tip") {
|
||||||
|
triggers {
|
||||||
|
schedule {
|
||||||
|
schedulingPolicy = daily {
|
||||||
|
hour = 23
|
||||||
|
}
|
||||||
|
withPendingChangesOnly = true
|
||||||
|
triggerBuild = always()
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
failureConditions {
|
failureConditions {
|
||||||
executionTimeoutMin = 30
|
executionTimeoutMin = 30
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user