未验证 提交 27f66762 编写于 作者: N nd 提交者: GitHub

Fix compilation error in TC settings (#2313)

上级 9c03e2b5
...@@ -81,7 +81,15 @@ class AggregatorBuild(tests: Collection<BuildType>) : BuildType({ ...@@ -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,14 +194,6 @@ class TestBuild(val os: String, val arch: String, version: String, buildId: Abso ...@@ -186,14 +194,6 @@ class TestBuild(val os: String, val arch: String, version: String, buildId: Abso
} }
features { features {
enablePullRequests()
golang {
testFormat = "json"
}
}
})
fun enablePullRequests() {
pullRequests { pullRequests {
vcsRootExtId = "${DslContext.settingsRoot.id}" vcsRootExtId = "${DslContext.settingsRoot.id}"
provider = github { provider = github {
...@@ -203,4 +203,8 @@ fun enablePullRequests() { ...@@ -203,4 +203,8 @@ fun enablePullRequests() {
filterAuthorRole = PullRequests.GitHubRoleFilter.EVERYBODY filterAuthorRole = PullRequests.GitHubRoleFilter.EVERYBODY
} }
} }
} golang {
\ No newline at end of file testFormat = "json"
}
}
})
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册