From acf54d98956035987a436dbf026b8489eb987eee Mon Sep 17 00:00:00 2001 From: Vasily Levchenko Date: Thu, 16 Feb 2017 14:45:21 +0300 Subject: [PATCH] reporting: fixed escaping pipe for teamcity --- buildSrc/src/main/groovy/org/jetbrains/kotlin/KonanTest.groovy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildSrc/src/main/groovy/org/jetbrains/kotlin/KonanTest.groovy b/buildSrc/src/main/groovy/org/jetbrains/kotlin/KonanTest.groovy index a7ddfd31302..0a9db13d09c 100644 --- a/buildSrc/src/main/groovy/org/jetbrains/kotlin/KonanTest.groovy +++ b/buildSrc/src/main/groovy/org/jetbrains/kotlin/KonanTest.groovy @@ -452,10 +452,10 @@ fun main(args : Array) { * https://github.com/GitTools/GitVersion/issues/94 */ def formatedString = rawString + .replaceAll("\\|", "||") .replaceAll("\r", "|r") .replaceAll("\n", "|n") .replaceAll("'", "|'") - .replaceAll("|", "||") .replaceAll("\\[", "|[") .replaceAll("]", "|]") teamcityReport("testFailed name='$name' message='${e.getMessage()}' details='${formatedString}'")