Revert "[K/N][perf] Use properties file to get TeamCity URL"

This reverts commit a961a93da7.
This commit is contained in:
Pavel Punegov
2022-07-28 12:39:08 +02:00
parent a61648651b
commit edbccd0add
+1 -8
View File
@@ -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}"
}