Skip to content

Commit

Permalink
Remove printing service messages
Browse files Browse the repository at this point in the history
GitOrigin-RevId: 0debaa0ab2f507008e7bb48df5bc70cf0885ed9c
  • Loading branch information
annaMarchenkoJetBrains authored and intellij-monorepo-bot committed Feb 11, 2025
1 parent 03144a2 commit 301627b
Showing 1 changed file with 0 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -69,12 +69,8 @@ open class TeamCityCIServer(
val generifiedTestName = testName.processStringForTC()
logOutput(String.format("##teamcity[testStarted name='%s' flowId='%s' nodeId='%s' parentNodeId='0']",
generifiedTestName, flowId, generifiedTestName))
logOutput(String.format("teamcity[testStarted name='%s' flowId='%s' nodeId='%s' parentNodeId='0']",
generifiedTestName, flowId, generifiedTestName))
logOutput(String.format("##teamcity[testIgnored name='%s' message='%s' flowId='%s' nodeId='%s']",
generifiedTestName, message.processStringForTC(), flowId, generifiedTestName))
logOutput(String.format("teamcity[testIgnored name='%s' message='%s' flowId='%s' nodeId='%s']",
generifiedTestName, message.processStringForTC(), flowId, generifiedTestName))
details?.let {
addTestMetadataWithoutStringProcessing(
testName = generifiedTestName,
Expand All @@ -86,8 +82,6 @@ open class TeamCityCIServer(
}
logOutput(String.format("##teamcity[testFinished name='%s' flowId='%s' nodeId='%s' parentNodeId='0']",
generifiedTestName, flowId, generifiedTestName))
logOutput(String.format("teamcity[testFinished name='%s' flowId='%s' nodeId='%s' parentNodeId='0']",
generifiedTestName, flowId, generifiedTestName))
}

override fun isTestFailureShouldBeIgnored(message: String): Boolean {
Expand Down Expand Up @@ -324,7 +318,6 @@ open class TeamCityCIServer(
val flow = flowId?.let { "flowId='$it'" } ?: ""
val testName = testName?.let { "testName='${it}'" } ?: ""
println("##teamcity[testMetadata $testName type='${type.name.lowercase()}' ${nameAttr} value='${value.processStringForTC()}' ${flow}]")
println("teamcity[testMetadata $testName type='${type.name.lowercase()}' ${nameAttr} value='${value.processStringForTC()}' ${flow}]")
}

fun progressStart(activityName: String) {
Expand Down

0 comments on commit 301627b

Please sign in to comment.