Add bootstrap.teamcity.url parameter to specify bootstrap teamcity server

This commit is contained in:
Ilya Gorbunov
2020-03-31 06:48:45 +03:00
parent 453e91daf2
commit 2e20fab05f
2 changed files with 3 additions and 0 deletions
@@ -33,6 +33,7 @@ fun Project.kotlinBootstrapFrom(defaultSource: BootstrapOption) {
teamCityBootstrapVersion,
kotlinBuildProperties.teamCityBootstrapBuildNumber,
projectExtId = kotlinBuildProperties.teamCityBootstrapProject,
teamcityUrl = kotlinBuildProperties.teamCityBootstrapUrl,
onlySuccessBootstrap = false
)
customBootstrapVersion != null -> BootstrapOption.Custom(
@@ -126,6 +126,8 @@ class KotlinBuildProperties(
val teamCityBootstrapProject: String? = get("bootstrap.teamcity.project") as String?
val teamCityBootstrapUrl: String? = get("bootstrap.teamcity.url") as String?
val rootProjectDir: File = propertiesProvider.rootProjectDir
}