Skip to content

Commit

Permalink
[7.x] [CI] Gate TeamCity PR commit statuses (#88526) | [CI] Fix trail…
Browse files Browse the repository at this point in the history
…ing comma in TeamCity job DSL (#88533) (#88696)
  • Loading branch information
brianseeders authored Jan 19, 2021
1 parent 978f7a3 commit f2a4168
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .teamcity/src/builds/PullRequestCi.kt
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ package builds
import builds.default.DefaultSavedObjectFieldMetrics
import dependsOn
import getProjectBranch
import isReportingEnabled
import jetbrains.buildServer.configs.kotlin.v2019_2.BuildType
import jetbrains.buildServer.configs.kotlin.v2019_2.buildFeatures.commitStatusPublisher
import vcs.Kibana
Expand Down Expand Up @@ -63,6 +64,7 @@ object PullRequestCi : BuildType({

features {
commitStatusPublisher {
enabled = isReportingEnabled()
vcsRootExtId = "${Kibana.id}"
publisher = github {
githubUrl = "https://api.github.com"
Expand Down
2 changes: 1 addition & 1 deletion .teamcity/src/builds/test/QuickTests.kt
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ object QuickTests : BuildType({

val testScripts = mapOf(
"Test Hardening" to ".ci/teamcity/checks/test_hardening.sh",
"Test Projects" to ".ci/teamcity/tests/test_projects.sh",
"Test Projects" to ".ci/teamcity/tests/test_projects.sh"
)

steps {
Expand Down
2 changes: 2 additions & 0 deletions vars/prChanges.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,10 @@ def getSkippablePaths() {
/^.ci\/.+\.yml$/,
/^.ci\/es-snapshots\//,
/^.ci\/pipeline-library\//,
/^.ci\/teamcity\//,
/^.ci\/Jenkinsfile_[^\/]+$/,
/^\.github\//,
/^\.teamcity\//,
/\.md$/,
]
}
Expand Down

0 comments on commit f2a4168

Please sign in to comment.