Fix compilation error in TC settings (#2313)
This commit is contained in:
parent
9c03e2b5de
commit
27f66762d0
32
.teamcity/settings.kts
vendored
32
.teamcity/settings.kts
vendored
@ -81,7 +81,15 @@ class AggregatorBuild(tests: Collection<BuildType>) : BuildType({
|
|||||||
}
|
}
|
||||||
|
|
||||||
features {
|
features {
|
||||||
enablePullRequests()
|
pullRequests {
|
||||||
|
vcsRootExtId = "${DslContext.settingsRoot.id}"
|
||||||
|
provider = github {
|
||||||
|
authType = token {
|
||||||
|
token = "credentialsJSON:5dc93081-e0b2-41e2-b8f0-dea3c96e6426"
|
||||||
|
}
|
||||||
|
filterAuthorRole = PullRequests.GitHubRoleFilter.EVERYBODY
|
||||||
|
}
|
||||||
|
}
|
||||||
commitStatusPublisher {
|
commitStatusPublisher {
|
||||||
vcsRootExtId = "${DslContext.settingsRoot.id}"
|
vcsRootExtId = "${DslContext.settingsRoot.id}"
|
||||||
publisher = github {
|
publisher = github {
|
||||||
@ -186,21 +194,17 @@ class TestBuild(val os: String, val arch: String, version: String, buildId: Abso
|
|||||||
}
|
}
|
||||||
|
|
||||||
features {
|
features {
|
||||||
enablePullRequests()
|
pullRequests {
|
||||||
|
vcsRootExtId = "${DslContext.settingsRoot.id}"
|
||||||
|
provider = github {
|
||||||
|
authType = token {
|
||||||
|
token = "credentialsJSON:5dc93081-e0b2-41e2-b8f0-dea3c96e6426"
|
||||||
|
}
|
||||||
|
filterAuthorRole = PullRequests.GitHubRoleFilter.EVERYBODY
|
||||||
|
}
|
||||||
|
}
|
||||||
golang {
|
golang {
|
||||||
testFormat = "json"
|
testFormat = "json"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
fun enablePullRequests() {
|
|
||||||
pullRequests {
|
|
||||||
vcsRootExtId = "${DslContext.settingsRoot.id}"
|
|
||||||
provider = github {
|
|
||||||
authType = token {
|
|
||||||
token = "credentialsJSON:5dc93081-e0b2-41e2-b8f0-dea3c96e6426"
|
|
||||||
}
|
|
||||||
filterAuthorRole = PullRequests.GitHubRoleFilter.EVERYBODY
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
Loading…
Reference in New Issue
Block a user