From edbccd0adde9cc1bc27b5fa70a1d90cd9a9d15c5 Mon Sep 17 00:00:00 2001 From: Pavel Punegov Date: Thu, 28 Jul 2022 12:39:08 +0200 Subject: [PATCH] Revert "[K/N][perf] Use properties file to get TeamCity URL" This reverts commit a961a93da770bd1a1a5619f6653044ad0bd22a28. --- kotlin-native/performance/build.gradle | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/kotlin-native/performance/build.gradle b/kotlin-native/performance/build.gradle index 3ac92502921..f8fad9c2223 100644 --- a/kotlin-native/performance/build.gradle +++ b/kotlin-native/performance/build.gradle @@ -312,17 +312,10 @@ subprojects.each { } task teamCityStat(type:Exec) { - def teamcityUrl = "" - def teamcityConfig = System.getenv("TEAMCITY_BUILD_PROPERTIES_FILE") - if (teamcityConfig) { - def buildProperties = new Properties() - buildProperties.load(new FileInputStream(teamcityConfig)) - teamcityUrl = buildProperties.getProperty("teamcity.serverUrl") - } def analyzer = findAnalyzerBinary() commandLine analyzer, "-r", "teamcity", "--artifactory-url", "https://repo.labs.intellij.net/kotlin-native-benchmarks", - "--teamcity-url", teamcityUrl, + "--teamcity-url", "http://buildserver.labs.intellij.net", "--server-url", findProperty("kotlin.native.performance.server.url")?.toString() ?: "http://localhost:3000", "${buildDir.absolutePath}/${nativeJson}" }