Add bootstrap.teamcity.url parameter to specify bootstrap teamcity server
This commit is contained in:
@@ -33,6 +33,7 @@ fun Project.kotlinBootstrapFrom(defaultSource: BootstrapOption) {
|
|||||||
teamCityBootstrapVersion,
|
teamCityBootstrapVersion,
|
||||||
kotlinBuildProperties.teamCityBootstrapBuildNumber,
|
kotlinBuildProperties.teamCityBootstrapBuildNumber,
|
||||||
projectExtId = kotlinBuildProperties.teamCityBootstrapProject,
|
projectExtId = kotlinBuildProperties.teamCityBootstrapProject,
|
||||||
|
teamcityUrl = kotlinBuildProperties.teamCityBootstrapUrl,
|
||||||
onlySuccessBootstrap = false
|
onlySuccessBootstrap = false
|
||||||
)
|
)
|
||||||
customBootstrapVersion != null -> BootstrapOption.Custom(
|
customBootstrapVersion != null -> BootstrapOption.Custom(
|
||||||
|
|||||||
@@ -126,6 +126,8 @@ class KotlinBuildProperties(
|
|||||||
|
|
||||||
val teamCityBootstrapProject: String? = get("bootstrap.teamcity.project") as String?
|
val teamCityBootstrapProject: String? = get("bootstrap.teamcity.project") as String?
|
||||||
|
|
||||||
|
val teamCityBootstrapUrl: String? = get("bootstrap.teamcity.url") as String?
|
||||||
|
|
||||||
val rootProjectDir: File = propertiesProvider.rootProjectDir
|
val rootProjectDir: File = propertiesProvider.rootProjectDir
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user