Revert "[K/N][perf] Use properties file to get TeamCity URL"
This reverts commit a961a93da7.
This commit is contained in:
@@ -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}"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user