[build] Take artifacts from maven.zip when bootstrapping on a teamcity build

This commit is contained in:
Ilya Gorbunov
2024-02-18 19:08:14 +01:00
committed by Space Team
parent 9fb9d28277
commit 98f23c0fba
@@ -274,10 +274,10 @@ when {
val query = "branch:default:any" val query = "branch:default:any"
val baseRepoUrl = teamCityBootstrapUrl.orNull ?: "https://buildserver.labs.intellij.net" val baseRepoUrl = teamCityBootstrapUrl.orNull ?: "https://buildserver.labs.intellij.net"
val teamCityProjectId = teamCityBootstrapProject.orNull ?: "Kotlin_KotlinDev_Compiler" val teamCityProjectId = teamCityBootstrapProject.orNull ?: "Kotlin_KotlinDev_Artifacts"
val teamCityBuildNumber = teamCityBootstrapBuildNumber.orNull ?: bootstrapVersion val teamCityBuildNumber = teamCityBootstrapBuildNumber.orNull ?: bootstrapVersion
val bootstrapRepo = "$baseRepoUrl/guestAuth/app/rest/builds/buildType:(id:$teamCityProjectId),number:$teamCityBuildNumber,$query/artifacts/content/maven/" val bootstrapRepo = "$baseRepoUrl/guestAuth/app/rest/builds/buildType:(id:$teamCityProjectId),number:$teamCityBuildNumber,$query/artifacts/content/maven.zip!/"
applyBootstrapConfiguration( applyBootstrapConfiguration(
bootstrapVersion, bootstrapVersion,