Skip to content

Commit

Permalink
(maint) Gather the Pester Test Results CI build
Browse files Browse the repository at this point in the history
TeamCity can report on the test results when told what xml file to look
at. This adds the configuration to pick up the Pester results for that
reporting.
  • Loading branch information
corbob committed Mar 9, 2024
1 parent f793080 commit 956b14e
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .teamcity/settings.kts
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
import jetbrains.buildServer.configs.kotlin.v2019_2.*
import jetbrains.buildServer.configs.kotlin.v2019_2.buildFeatures.XmlReport
import jetbrains.buildServer.configs.kotlin.v2019_2.buildFeatures.xmlReport
import jetbrains.buildServer.configs.kotlin.v2019_2.buildFeatures.PullRequests
import jetbrains.buildServer.configs.kotlin.v2019_2.buildFeatures.pullRequests
import jetbrains.buildServer.configs.kotlin.v2019_2.buildSteps.powerShell
Expand Down Expand Up @@ -57,11 +59,17 @@ object ChocolateyAU : BuildType({

triggers {
vcs {
branchFilter = ""
branchFilter = """
""".trimIndent()
}
}

features {
xmlReport {
reportType = XmlReport.XmlReportType.NUNIT
rules = "code_drop/**/*.xml"
}
pullRequests {
provider = github {
authType = token {
Expand Down

0 comments on commit 956b14e

Please sign in to comment.