Skip to content

Commit

Permalink
Config maxParallel=8 for GBT builds
Browse files Browse the repository at this point in the history
  • Loading branch information
blindpirate committed Oct 20, 2021
1 parent 3d4c24d commit 8d9387f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .teamcity/src/main/kotlin/common/extensions.kt
Expand Up @@ -129,6 +129,8 @@ fun BuildType.paramsForBuildToolBuild(buildJvm: Jvm = BuildToolBuildJvm, os: Os)
if (os == Os.MACOS) {
// Use fewer parallel forks on macOs, since the agents are not very powerful.
param("maxParallelForks", "2")
} else {
param("maxParallelForks", "8")
}
if (os == Os.LINUX || os == Os.MACOS) {
param("env.LC_ALL", "en_US.UTF-8")
Expand Down Expand Up @@ -182,7 +184,8 @@ fun functionalTestExtraParameters(buildScanTag: String, os: Os, testJvmVersion:
)
return (listOf(
"-PtestJavaVersion=$testJvmVersion",
"-PtestJavaVendor=$testJvmVendor") +
"-PtestJavaVendor=$testJvmVendor"
) +
listOf(buildScanTag(buildScanTag)) +
buildScanValues.map { buildScanCustomValue(it.key, it.value) }
).filter { it.isNotBlank() }.joinToString(separator = " ")
Expand Down

0 comments on commit 8d9387f

Please sign in to comment.