diff --git a/build.gradle b/build.gradle index eefa999f26aa8..2211da85345b5 100644 --- a/build.gradle +++ b/build.gradle @@ -450,12 +450,11 @@ gradle.projectsEvaluated { } // test retry configuration -boolean isCiServer = System.getenv().containsKey("CI") subprojects { apply plugin: "org.gradle.test-retry" tasks.withType(Test).configureEach { retry { - if (isCiServer) { + if (BuildParams.isCi()) { maxRetries = 3 maxFailures = 10 }